Class MabContainerExtendedInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MabContainerExtendedInfo
Additional information of the container.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MabContainerExtendedInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backupItems property: List of backup items associated with this container.Get the backupItemType property: Type of backup items associated with this container.Get the lastBackupStatus property: Latest backup status of this container.Get the lastRefreshedAt property: Time stamp when this container was refreshed.Get the policyName property: Backup policy associated with this container.void
validate()
Validates the instance.withBackupItems
(List<String> backupItems) Set the backupItems property: List of backup items associated with this container.withBackupItemType
(BackupItemType backupItemType) Set the backupItemType property: Type of backup items associated with this container.withLastBackupStatus
(String lastBackupStatus) Set the lastBackupStatus property: Latest backup status of this container.withLastRefreshedAt
(OffsetDateTime lastRefreshedAt) Set the lastRefreshedAt property: Time stamp when this container was refreshed.withPolicyName
(String policyName) Set the policyName property: Backup policy associated with this container.
-
Constructor Details
-
MabContainerExtendedInfo
public MabContainerExtendedInfo()Creates an instance of MabContainerExtendedInfo class.
-
-
Method Details
-
lastRefreshedAt
Get the lastRefreshedAt property: Time stamp when this container was refreshed.- Returns:
- the lastRefreshedAt value.
-
withLastRefreshedAt
Set the lastRefreshedAt property: Time stamp when this container was refreshed.- Parameters:
lastRefreshedAt
- the lastRefreshedAt value to set.- Returns:
- the MabContainerExtendedInfo object itself.
-
backupItemType
Get the backupItemType property: Type of backup items associated with this container.- Returns:
- the backupItemType value.
-
withBackupItemType
Set the backupItemType property: Type of backup items associated with this container.- Parameters:
backupItemType
- the backupItemType value to set.- Returns:
- the MabContainerExtendedInfo object itself.
-
backupItems
Get the backupItems property: List of backup items associated with this container.- Returns:
- the backupItems value.
-
withBackupItems
Set the backupItems property: List of backup items associated with this container.- Parameters:
backupItems
- the backupItems value to set.- Returns:
- the MabContainerExtendedInfo object itself.
-
policyName
Get the policyName property: Backup policy associated with this container.- Returns:
- the policyName value.
-
withPolicyName
Set the policyName property: Backup policy associated with this container.- Parameters:
policyName
- the policyName value to set.- Returns:
- the MabContainerExtendedInfo object itself.
-
lastBackupStatus
Get the lastBackupStatus property: Latest backup status of this container.- Returns:
- the lastBackupStatus value.
-
withLastBackupStatus
Set the lastBackupStatus property: Latest backup status of this container.- Parameters:
lastBackupStatus
- the lastBackupStatus value to set.- Returns:
- the MabContainerExtendedInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-