Class AzureBackupServerContainer
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
com.azure.resourcemanager.recoveryservicesbackup.models.DpmContainer
com.azure.resourcemanager.recoveryservicesbackup.models.AzureBackupServerContainer
AzureBackupServer (DPMVenus) workload-specific protection container.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBackupServerContainer class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withBackupManagementType
(BackupManagementType backupManagementType) Set the backupManagementType property: Type of backup management for the container.withCanReRegister
(Boolean canReRegister) Set the canReRegister property: Specifies whether the container is re-registrable.withContainerId
(String containerId) Set the containerId property: ID of container.withDpmAgentVersion
(String dpmAgentVersion) Set the dpmAgentVersion property: Backup engine Agent version.withDpmServers
(List<String> dpmServers) Set the dpmServers property: List of BackupEngines protecting the container.withExtendedInfo
(DpmContainerExtendedInfo extendedInfo) Set the extendedInfo property: Extended Info of the container.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.withProtectableObjectType
(String protectableObjectType) Set the protectableObjectType property: Type of the protectable object associated with this container.withProtectedItemCount
(Long protectedItemCount) Set the protectedItemCount property: Number of protected items in the BackupEngine.withProtectionStatus
(String protectionStatus) Set the protectionStatus property: Protection status of the container.withRegistrationStatus
(String registrationStatus) Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.withUpgradeAvailable
(Boolean upgradeAvailable) Set the upgradeAvailable property: To check if upgrade available.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.DpmContainer
canReRegister, containerId, dpmAgentVersion, dpmServers, extendedInfo, protectedItemCount, protectionStatus, upgradeAvailable
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
backupManagementType, friendlyName, healthStatus, protectableObjectType, registrationStatus
-
Constructor Details
-
AzureBackupServerContainer
public AzureBackupServerContainer()Creates an instance of AzureBackupServerContainer class.
-
-
Method Details
-
withCanReRegister
Set the canReRegister property: Specifies whether the container is re-registrable.- Overrides:
withCanReRegister
in classDpmContainer
- Parameters:
canReRegister
- the canReRegister value to set.- Returns:
- the DpmContainer object itself.
-
withContainerId
Set the containerId property: ID of container.- Overrides:
withContainerId
in classDpmContainer
- Parameters:
containerId
- the containerId value to set.- Returns:
- the DpmContainer object itself.
-
withProtectedItemCount
Set the protectedItemCount property: Number of protected items in the BackupEngine.- Overrides:
withProtectedItemCount
in classDpmContainer
- Parameters:
protectedItemCount
- the protectedItemCount value to set.- Returns:
- the DpmContainer object itself.
-
withDpmAgentVersion
Set the dpmAgentVersion property: Backup engine Agent version.- Overrides:
withDpmAgentVersion
in classDpmContainer
- Parameters:
dpmAgentVersion
- the dpmAgentVersion value to set.- Returns:
- the DpmContainer object itself.
-
withDpmServers
Set the dpmServers property: List of BackupEngines protecting the container.- Overrides:
withDpmServers
in classDpmContainer
- Parameters:
dpmServers
- the dpmServers value to set.- Returns:
- the DpmContainer object itself.
-
withUpgradeAvailable
Set the upgradeAvailable property: To check if upgrade available.- Overrides:
withUpgradeAvailable
in classDpmContainer
- Parameters:
upgradeAvailable
- the upgradeAvailable value to set.- Returns:
- the DpmContainer object itself.
-
withProtectionStatus
Set the protectionStatus property: Protection status of the container.- Overrides:
withProtectionStatus
in classDpmContainer
- Parameters:
protectionStatus
- the protectionStatus value to set.- Returns:
- the DpmContainer object itself.
-
withExtendedInfo
Set the extendedInfo property: Extended Info of the container.- Overrides:
withExtendedInfo
in classDpmContainer
- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the DpmContainer object itself.
-
withFriendlyName
Set the friendlyName property: Friendly name of the container.- Overrides:
withFriendlyName
in classDpmContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectionContainer object itself.
-
withBackupManagementType
public AzureBackupServerContainer withBackupManagementType(BackupManagementType backupManagementType) Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classDpmContainer
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectionContainer object itself.
-
withRegistrationStatus
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.- Overrides:
withRegistrationStatus
in classDpmContainer
- Parameters:
registrationStatus
- the registrationStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withHealthStatus
Set the healthStatus property: Status of health of the container.- Overrides:
withHealthStatus
in classDpmContainer
- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withProtectableObjectType
Set the protectableObjectType property: Type of the protectable object associated with this container.- Overrides:
withProtectableObjectType
in classDpmContainer
- Parameters:
protectableObjectType
- the protectableObjectType value to set.- Returns:
- the ProtectionContainer object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDpmContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-