java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.BackupSettings

public final class BackupSettings extends Object
The settings for the long term backup.
  • Constructor Details

    • BackupSettings

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

    • backupName

      public String backupName()
      Get the backupName property: Backup Name for the current backup.
      Returns:
      the backupName value.
    • withBackupName

      public BackupSettings withBackupName(String backupName)
      Set the backupName property: Backup Name for the current backup.
      Parameters:
      backupName - the backupName value to set.
      Returns:
      the BackupSettings object itself.
    • validate

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