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 Details

    • DpmContainer

      public DpmContainer()
      Creates an instance of DpmContainer class.
  • Method Details

    • 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 class ProtectionContainer
      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 class ProtectionContainer
      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 class ProtectionContainer
      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 class ProtectionContainer
      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 class ProtectionContainer
      Parameters:
      protectableObjectType - the protectableObjectType value to set.
      Returns:
      the ProtectionContainer object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProtectionContainer
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.