Class AzureVMAppContainerProtectableContainer
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectableContainer
com.azure.resourcemanager.recoveryservicesbackup.models.AzureVMAppContainerProtectableContainer
Azure workload-specific container.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureVMAppContainerProtectableContainer class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withBackupManagementType
(BackupManagementType backupManagementType) Set the backupManagementType property: Type of backup management for the container.withContainerId
(String containerId) Set the containerId property: Fabric Id of the container such as ARM Id.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of the container.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
-
Constructor Details
-
AzureVMAppContainerProtectableContainer
public AzureVMAppContainerProtectableContainer()Creates an instance of AzureVMAppContainerProtectableContainer class.
-
-
Method Details
-
withFriendlyName
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
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
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.
-