Class MabContainer
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
com.azure.resourcemanager.recoveryservicesbackup.models.MabContainer
Container with items backed up using MAB backup engine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the agentVersion property: Agent version of this container.Get the canReRegister property: Can the container be registered one more time.Get the containerHealthState property: Health state of mab container.Get the containerId property: ContainerID represents the container.Get the extendedInfo property: Additional information for this container.Get the mabContainerHealthDetails property: Health details on this mab container.Get the protectedItemCount property: Number of items backed up in this container.void
validate()
Validates the instance.withAgentVersion
(String agentVersion) Set the agentVersion property: Agent version of this container.withBackupManagementType
(BackupManagementType backupManagementType) Set the backupManagementType property: Type of backup management for the container.withCanReRegister
(Boolean canReRegister) Set the canReRegister property: Can the container be registered one more time.withContainerHealthState
(String containerHealthState) Set the containerHealthState property: Health state of mab container.withContainerId
(Long containerId) Set the containerId property: ContainerID represents the container.withExtendedInfo
(MabContainerExtendedInfo extendedInfo) Set the extendedInfo property: Additional information for this 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.withMabContainerHealthDetails
(List<MabContainerHealthDetails> mabContainerHealthDetails) Set the mabContainerHealthDetails property: Health details on this mab 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 items backed up in this container.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
-
Constructor Details
-
MabContainer
public MabContainer()Creates an instance of MabContainer class.
-
-
Method Details
-
canReRegister
Get the canReRegister property: Can the container be registered one more time.- Returns:
- the canReRegister value.
-
withCanReRegister
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
Get the containerId property: ContainerID represents the container.- Returns:
- the containerId value.
-
withContainerId
Set the containerId property: ContainerID represents the container.- Parameters:
containerId
- the containerId value to set.- Returns:
- the MabContainer object itself.
-
protectedItemCount
Get the protectedItemCount property: Number of items backed up in this container.- Returns:
- the protectedItemCount value.
-
withProtectedItemCount
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
Get the agentVersion property: Agent version of this container.- Returns:
- the agentVersion value.
-
withAgentVersion
Set the agentVersion property: Agent version of this container.- Parameters:
agentVersion
- the agentVersion value to set.- Returns:
- the MabContainer object itself.
-
extendedInfo
Get the extendedInfo property: Additional information for this container.- Returns:
- the extendedInfo value.
-
withExtendedInfo
Set the extendedInfo property: Additional information for this container.- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the MabContainer object itself.
-
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
Get the containerHealthState property: Health state of mab container.- Returns:
- the containerHealthState value.
-
withContainerHealthState
Set the containerHealthState property: Health state of mab container.- Parameters:
containerHealthState
- the containerHealthState value to set.- Returns:
- the MabContainer 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.
-