Class AzureVMAppContainerProtectableContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectableContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureVMAppContainerProtectableContainer
-
public final class AzureVMAppContainerProtectableContainer extends ProtectableContainer
Azure workload-specific container.
-
-
Constructor Summary
Constructors Constructor Description AzureVMAppContainerProtectableContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureVMAppContainerProtectableContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.AzureVMAppContainerProtectableContainer
withContainerId(String containerId)
Set the containerId property: Fabric Id of the container such as ARM Id.AzureVMAppContainerProtectableContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.AzureVMAppContainerProtectableContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ProtectableContainer
backupManagementType, containerId, friendlyName, healthStatus
-
-
-
-
Method Detail
-
withFriendlyName
public AzureVMAppContainerProtectableContainer withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.- Overrides:
withFriendlyName
in classProtectableContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectableContainer object itself.
-
withBackupManagementType
public AzureVMAppContainerProtectableContainer withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classProtectableContainer
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectableContainer object itself.
-
withHealthStatus
public AzureVMAppContainerProtectableContainer withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.- Overrides:
withHealthStatus
in classProtectableContainer
- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectableContainer object itself.
-
withContainerId
public AzureVMAppContainerProtectableContainer withContainerId(String containerId)
Set the containerId property: Fabric Id of the container such as ARM Id.- Overrides:
withContainerId
in classProtectableContainer
- Parameters:
containerId
- the containerId value to set.- Returns:
- the ProtectableContainer object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classProtectableContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-