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