Class MabContainerExtendedInfo

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MabContainerExtendedInfo

public final class MabContainerExtendedInfo extends Object
Additional information of the container.
  • Constructor Details

    • MabContainerExtendedInfo

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

    • lastRefreshedAt

      public OffsetDateTime lastRefreshedAt()
      Get the lastRefreshedAt property: Time stamp when this container was refreshed.
      Returns:
      the lastRefreshedAt value.
    • withLastRefreshedAt

      public MabContainerExtendedInfo withLastRefreshedAt(OffsetDateTime lastRefreshedAt)
      Set the lastRefreshedAt property: Time stamp when this container was refreshed.
      Parameters:
      lastRefreshedAt - the lastRefreshedAt value to set.
      Returns:
      the MabContainerExtendedInfo object itself.
    • backupItemType

      public BackupItemType backupItemType()
      Get the backupItemType property: Type of backup items associated with this container.
      Returns:
      the backupItemType value.
    • withBackupItemType

      public MabContainerExtendedInfo withBackupItemType(BackupItemType backupItemType)
      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

      public List<String> backupItems()
      Get the backupItems property: List of backup items associated with this container.
      Returns:
      the backupItems value.
    • withBackupItems

      public MabContainerExtendedInfo withBackupItems(List<String> backupItems)
      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

      public String policyName()
      Get the policyName property: Backup policy associated with this container.
      Returns:
      the policyName value.
    • withPolicyName

      public MabContainerExtendedInfo withPolicyName(String policyName)
      Set the policyName property: Backup policy associated with this container.
      Parameters:
      policyName - the policyName value to set.
      Returns:
      the MabContainerExtendedInfo object itself.
    • lastBackupStatus

      public String lastBackupStatus()
      Get the lastBackupStatus property: Latest backup status of this container.
      Returns:
      the lastBackupStatus value.
    • withLastBackupStatus

      public MabContainerExtendedInfo withLastBackupStatus(String lastBackupStatus)
      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.