Class Backup


  • public final class Backup
    extends Object
    Storage Profile properties of a server.
    • Constructor Detail

      • Backup

        public Backup()
    • Method Detail

      • backupRetentionDays

        public Integer backupRetentionDays()
        Get the backupRetentionDays property: Backup retention days for the server.
        Returns:
        the backupRetentionDays value.
      • withBackupRetentionDays

        public Backup withBackupRetentionDays​(Integer backupRetentionDays)
        Set the backupRetentionDays property: Backup retention days for the server.
        Parameters:
        backupRetentionDays - the backupRetentionDays value to set.
        Returns:
        the Backup object itself.
      • geoRedundantBackup

        public EnableStatusEnum geoRedundantBackup()
        Get the geoRedundantBackup property: Whether or not geo redundant backup is enabled.
        Returns:
        the geoRedundantBackup value.
      • withGeoRedundantBackup

        public Backup withGeoRedundantBackup​(EnableStatusEnum geoRedundantBackup)
        Set the geoRedundantBackup property: Whether or not geo redundant backup is enabled.
        Parameters:
        geoRedundantBackup - the geoRedundantBackup value to set.
        Returns:
        the Backup object itself.
      • earliestRestoreDate

        public OffsetDateTime earliestRestoreDate()
        Get the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).
        Returns:
        the earliestRestoreDate value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.