Class MabContainer
- 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 Summary
Constructors Constructor Description MabContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
agentVersion()
Get the agentVersion property: Agent version of this container.Boolean
canReRegister()
Get the canReRegister property: Can the container be registered one more time.String
containerHealthState()
Get the containerHealthState property: Health state of mab container.Long
containerId()
Get the containerId property: ContainerID represents the container.MabContainerExtendedInfo
extendedInfo()
Get the extendedInfo property: Additional information for this container.List<MabContainerHealthDetails>
mabContainerHealthDetails()
Get the mabContainerHealthDetails property: Health details on this mab container.Long
protectedItemCount()
Get the protectedItemCount property: Number of items backed up in this container.void
validate()
Validates the instance.MabContainer
withAgentVersion(String agentVersion)
Set the agentVersion property: Agent version of this container.MabContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.MabContainer
withCanReRegister(Boolean canReRegister)
Set the canReRegister property: Can the container be registered one more time.MabContainer
withContainerHealthState(String containerHealthState)
Set the containerHealthState property: Health state of mab container.MabContainer
withContainerId(Long containerId)
Set the containerId property: ContainerID represents the container.MabContainer
withExtendedInfo(MabContainerExtendedInfo extendedInfo)
Set the extendedInfo property: Additional information for this container.MabContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.MabContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.MabContainer
withMabContainerHealthDetails(List<MabContainerHealthDetails> mabContainerHealthDetails)
Set the mabContainerHealthDetails property: Health details on this mab container.MabContainer
withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.MabContainer
withProtectedItemCount(Long protectedItemCount)
Set the protectedItemCount property: Number of items backed up in this container.MabContainer
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.-
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: 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 classProtectionContainer
- 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 classProtectionContainer
- 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 classProtectionContainer
- 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 classProtectionContainer
- 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 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.
-
-