java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
com.azure.resourcemanager.recoveryservicesbackup.models.MabContainer

public final class MabContainer extends ProtectionContainer
Container with items backed up using MAB backup engine.
  • Constructor Details

    • MabContainer

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

    • canReRegister

      public Boolean canReRegister()
      Get the canReRegister property: Can the container be registered one more time.
      Returns:
      the canReRegister value.
    • withCanReRegister

      public MabContainer withCanReRegister(Boolean canReRegister)
      Set the canReRegister property: Can the container be registered one more time.
      Parameters:
      canReRegister - the canReRegister value to set.
      Returns:
      the MabContainer object itself.
    • containerId

      public Long containerId()
      Get the containerId property: ContainerID represents the container.
      Returns:
      the containerId value.
    • withContainerId

      public MabContainer withContainerId(Long containerId)
      Set the containerId property: ContainerID represents the container.
      Parameters:
      containerId - the containerId value to set.
      Returns:
      the MabContainer object itself.
    • protectedItemCount

      public Long protectedItemCount()
      Get the protectedItemCount property: Number of items backed up in this container.
      Returns:
      the protectedItemCount value.
    • withProtectedItemCount

      public MabContainer withProtectedItemCount(Long protectedItemCount)
      Set the protectedItemCount property: Number of items backed up in this container.
      Parameters:
      protectedItemCount - the protectedItemCount value to set.
      Returns:
      the MabContainer object itself.
    • agentVersion

      public String agentVersion()
      Get the agentVersion property: Agent version of this container.
      Returns:
      the agentVersion value.
    • withAgentVersion

      public MabContainer withAgentVersion(String agentVersion)
      Set the agentVersion property: Agent version of this container.
      Parameters:
      agentVersion - the agentVersion value to set.
      Returns:
      the MabContainer object itself.
    • extendedInfo

      public MabContainerExtendedInfo extendedInfo()
      Get the extendedInfo property: Additional information for this container.
      Returns:
      the extendedInfo value.
    • withExtendedInfo

      public MabContainer withExtendedInfo(MabContainerExtendedInfo extendedInfo)
      Set the extendedInfo property: Additional information for this container.
      Parameters:
      extendedInfo - the extendedInfo value to set.
      Returns:
      the MabContainer object itself.
    • mabContainerHealthDetails

      public List<MabContainerHealthDetails> mabContainerHealthDetails()
      Get the mabContainerHealthDetails property: Health details on this mab container.
      Returns:
      the mabContainerHealthDetails value.
    • withMabContainerHealthDetails

      public MabContainer withMabContainerHealthDetails(List<MabContainerHealthDetails> mabContainerHealthDetails)
      Set the mabContainerHealthDetails property: Health details on this mab container.
      Parameters:
      mabContainerHealthDetails - the mabContainerHealthDetails value to set.
      Returns:
      the MabContainer object itself.
    • containerHealthState

      public String containerHealthState()
      Get the containerHealthState property: Health state of mab container.
      Returns:
      the containerHealthState value.
    • withContainerHealthState

      public MabContainer withContainerHealthState(String containerHealthState)
      Set the containerHealthState property: Health state of mab container.
      Parameters:
      containerHealthState - the containerHealthState value to set.
      Returns:
      the MabContainer object itself.
    • withFriendlyName

      public MabContainer 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 MabContainer 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 MabContainer 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 MabContainer 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 MabContainer 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.