Class LtrBackupRequest
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.BackupRequestBase
com.azure.resourcemanager.postgresqlflexibleserver.models.LtrBackupRequest
The request that is made for a long term retention backup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the targetDetails property: Backup store detail for target server.voidvalidate()Validates the instance.withBackupSettings(BackupSettings backupSettings) Set the backupSettings property: Backup Settings.withTargetDetails(BackupStoreDetails targetDetails) Set the targetDetails property: Backup store detail for target server.Methods inherited from class com.azure.resourcemanager.postgresqlflexibleserver.models.BackupRequestBase
backupSettings
-
Constructor Details
-
LtrBackupRequest
public LtrBackupRequest()Creates an instance of LtrBackupRequest class.
-
-
Method Details
-
targetDetails
Get the targetDetails property: Backup store detail for target server.- Returns:
- the targetDetails value.
-
withTargetDetails
Set the targetDetails property: Backup store detail for target server.- Parameters:
targetDetails- the targetDetails value to set.- Returns:
- the LtrBackupRequest object itself.
-
withBackupSettings
Set the backupSettings property: Backup Settings.- Overrides:
withBackupSettingsin classBackupRequestBase- Parameters:
backupSettings- the backupSettings value to set.- Returns:
- the BackupRequestBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classBackupRequestBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-