Class DpmContainer
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
com.azure.resourcemanager.recoveryservicesbackup.models.DpmContainer
- Direct Known Subclasses:
AzureBackupServerContainer
DPM workload-specific protection container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the canReRegister property: Specifies whether the container is re-registrable.Get the containerId property: ID of container.Get the dpmAgentVersion property: Backup engine Agent version.Get the dpmServers property: List of BackupEngines protecting the container.Get the extendedInfo property: Extended Info of the container.Get the protectedItemCount property: Number of protected items in the BackupEngine.Get the protectionStatus property: Protection status of the container.Get the upgradeAvailable property: To check if upgrade available.void
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.ProtectionContainer
backupManagementType, friendlyName, healthStatus, protectableObjectType, registrationStatus
-
Constructor Details
-
DpmContainer
public DpmContainer()Creates an instance of DpmContainer class.
-
-
Method Details
-
canReRegister
Get the canReRegister property: Specifies whether the container is re-registrable.- Returns:
- the canReRegister value.
-
withCanReRegister
Set the canReRegister property: Specifies whether the container is re-registrable.- Parameters:
canReRegister
- the canReRegister value to set.- Returns:
- the DpmContainer object itself.
-
containerId
Get the containerId property: ID of container.- Returns:
- the containerId value.
-
withContainerId
Set the containerId property: ID of container.- Parameters:
containerId
- the containerId value to set.- Returns:
- the DpmContainer object itself.
-
protectedItemCount
Get the protectedItemCount property: Number of protected items in the BackupEngine.- Returns:
- the protectedItemCount value.
-
withProtectedItemCount
Set the protectedItemCount property: Number of protected items in the BackupEngine.- Parameters:
protectedItemCount
- the protectedItemCount value to set.- Returns:
- the DpmContainer object itself.
-
dpmAgentVersion
Get the dpmAgentVersion property: Backup engine Agent version.- Returns:
- the dpmAgentVersion value.
-
withDpmAgentVersion
Set the dpmAgentVersion property: Backup engine Agent version.- Parameters:
dpmAgentVersion
- the dpmAgentVersion value to set.- Returns:
- the DpmContainer object itself.
-
dpmServers
Get the dpmServers property: List of BackupEngines protecting the container.- Returns:
- the dpmServers value.
-
withDpmServers
Set the dpmServers property: List of BackupEngines protecting the container.- Parameters:
dpmServers
- the dpmServers value to set.- Returns:
- the DpmContainer object itself.
-
upgradeAvailable
Get the upgradeAvailable property: To check if upgrade available.- Returns:
- the upgradeAvailable value.
-
withUpgradeAvailable
Set the upgradeAvailable property: To check if upgrade available.- Parameters:
upgradeAvailable
- the upgradeAvailable value to set.- Returns:
- the DpmContainer object itself.
-
protectionStatus
Get the protectionStatus property: Protection status of the container.- Returns:
- the protectionStatus value.
-
withProtectionStatus
Set the protectionStatus property: Protection status of the container.- Parameters:
protectionStatus
- the protectionStatus value to set.- Returns:
- the DpmContainer object itself.
-
extendedInfo
Get the extendedInfo property: Extended Info of the container.- Returns:
- the extendedInfo value.
-
withExtendedInfo
Set the extendedInfo property: Extended Info of the container.- 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 classProtectionContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectionContainer object itself.
-
withBackupManagementType
Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classProtectionContainer
- 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 classProtectionContainer
- 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 classProtectionContainer
- 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 classProtectionContainer
- Parameters:
protectableObjectType
- the protectableObjectType value to set.- Returns:
- the ProtectionContainer object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProtectionContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-