Class ProtectableContainer
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectableContainer
- Direct Known Subclasses:
AzureStorageProtectableContainer
,AzureVMAppContainerProtectableContainer
Protectable Container Class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupManagementType property: Type of backup management for the container.Get the containerId property: Fabric Id of the container such as ARM Id.Get the friendlyName property: Friendly name of the container.Get the healthStatus property: Status of health of the container.void
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.
-
Constructor Details
-
ProtectableContainer
public ProtectableContainer()Creates an instance of ProtectableContainer class.
-
-
Method Details
-
friendlyName
Get the friendlyName property: Friendly name of the container.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of the container.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectableContainer object itself.
-
backupManagementType
Get the backupManagementType property: Type of backup management for the container.- Returns:
- the backupManagementType value.
-
withBackupManagementType
Set the backupManagementType property: Type of backup management for the container.- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectableContainer object itself.
-
healthStatus
Get the healthStatus property: Status of health of the container.- Returns:
- the healthStatus value.
-
withHealthStatus
Set the healthStatus property: Status of health of the container.- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectableContainer object itself.
-
containerId
Get the containerId property: Fabric Id of the container such as ARM Id.- Returns:
- the containerId value.
-
withContainerId
Set the containerId property: Fabric Id of the container such as ARM Id.- Parameters:
containerId
- the containerId value to set.- Returns:
- the ProtectableContainer object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-