Class BackupSettings
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.BackupSettings
The settings for the long term backup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the backupName property: Backup Name for the current backup.voidvalidate()Validates the instance.withBackupName(String backupName) Set the backupName property: Backup Name for the current backup.
-
Constructor Details
-
BackupSettings
public BackupSettings()Creates an instance of BackupSettings class.
-
-
Method Details
-
backupName
Get the backupName property: Backup Name for the current backup.- Returns:
- the backupName value.
-
withBackupName
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.
-