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