Class AzureIaaSClassicComputeVMContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.IaaSvmContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureIaaSClassicComputeVMContainer
-
public final class AzureIaaSClassicComputeVMContainer extends IaaSvmContainer
IaaS VM workload-specific backup item representing a classic virtual machine.
-
-
Constructor Summary
Constructors Constructor Description AzureIaaSClassicComputeVMContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureIaaSClassicComputeVMContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.AzureIaaSClassicComputeVMContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.AzureIaaSClassicComputeVMContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.AzureIaaSClassicComputeVMContainer
withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.AzureIaaSClassicComputeVMContainer
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.AzureIaaSClassicComputeVMContainer
withResourceGroup(String resourceGroup)
Set the resourceGroup property: Resource group name of Recovery Services Vault.AzureIaaSClassicComputeVMContainer
withVirtualMachineId(String virtualMachineId)
Set the virtualMachineId property: Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.AzureIaaSClassicComputeVMContainer
withVirtualMachineVersion(String virtualMachineVersion)
Set the virtualMachineVersion property: Specifies whether the container represents a Classic or an Azure Resource Manager VM.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.IaaSvmContainer
resourceGroup, virtualMachineId, virtualMachineVersion
-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
backupManagementType, friendlyName, healthStatus, protectableObjectType, registrationStatus
-
-
-
-
Method Detail
-
withVirtualMachineId
public AzureIaaSClassicComputeVMContainer withVirtualMachineId(String virtualMachineId)
Set the virtualMachineId property: Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.- Overrides:
withVirtualMachineId
in classIaaSvmContainer
- Parameters:
virtualMachineId
- the virtualMachineId value to set.- Returns:
- the IaaSvmContainer object itself.
-
withVirtualMachineVersion
public AzureIaaSClassicComputeVMContainer withVirtualMachineVersion(String virtualMachineVersion)
Set the virtualMachineVersion property: Specifies whether the container represents a Classic or an Azure Resource Manager VM.- Overrides:
withVirtualMachineVersion
in classIaaSvmContainer
- Parameters:
virtualMachineVersion
- the virtualMachineVersion value to set.- Returns:
- the IaaSvmContainer object itself.
-
withResourceGroup
public AzureIaaSClassicComputeVMContainer withResourceGroup(String resourceGroup)
Set the resourceGroup property: Resource group name of Recovery Services Vault.- Overrides:
withResourceGroup
in classIaaSvmContainer
- Parameters:
resourceGroup
- the resourceGroup value to set.- Returns:
- the IaaSvmContainer object itself.
-
withFriendlyName
public AzureIaaSClassicComputeVMContainer withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.- Overrides:
withFriendlyName
in classIaaSvmContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectionContainer object itself.
-
withBackupManagementType
public AzureIaaSClassicComputeVMContainer withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classIaaSvmContainer
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectionContainer object itself.
-
withRegistrationStatus
public AzureIaaSClassicComputeVMContainer withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.- Overrides:
withRegistrationStatus
in classIaaSvmContainer
- Parameters:
registrationStatus
- the registrationStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withHealthStatus
public AzureIaaSClassicComputeVMContainer withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.- Overrides:
withHealthStatus
in classIaaSvmContainer
- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withProtectableObjectType
public AzureIaaSClassicComputeVMContainer withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.- Overrides:
withProtectableObjectType
in classIaaSvmContainer
- Parameters:
protectableObjectType
- the protectableObjectType value to set.- Returns:
- the ProtectionContainer object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classIaaSvmContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-