Class AzureStorageProtectableContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectableContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureStorageProtectableContainer
-
public final class AzureStorageProtectableContainer extends ProtectableContainer
Azure Storage-specific protectable containers.
-
-
Constructor Summary
Constructors Constructor Description AzureStorageProtectableContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureStorageProtectableContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.AzureStorageProtectableContainer
withContainerId(String containerId)
Set the containerId property: Fabric Id of the container such as ARM Id.AzureStorageProtectableContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.AzureStorageProtectableContainer
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 AzureStorageProtectableContainer 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 AzureStorageProtectableContainer 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 AzureStorageProtectableContainer 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 AzureStorageProtectableContainer 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.
-
-