Class UpdateLongTermRetentionBackupParameters
java.lang.Object
com.azure.resourcemanager.sql.models.UpdateLongTermRetentionBackupParameters
Contains the information necessary to perform long term retention backup update operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UpdateLongTermRetentionBackupParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the requestedBackupStorageRedundancy property: The storage redundancy type of the copied backup.voidvalidate()Validates the instance.withRequestedBackupStorageRedundancy(BackupStorageRedundancy requestedBackupStorageRedundancy) Set the requestedBackupStorageRedundancy property: The storage redundancy type of the copied backup.
-
Constructor Details
-
UpdateLongTermRetentionBackupParameters
public UpdateLongTermRetentionBackupParameters()Creates an instance of UpdateLongTermRetentionBackupParameters class.
-
-
Method Details
-
requestedBackupStorageRedundancy
Get the requestedBackupStorageRedundancy property: The storage redundancy type of the copied backup.- Returns:
- the requestedBackupStorageRedundancy value.
-
withRequestedBackupStorageRedundancy
public UpdateLongTermRetentionBackupParameters withRequestedBackupStorageRedundancy(BackupStorageRedundancy requestedBackupStorageRedundancy) Set the requestedBackupStorageRedundancy property: The storage redundancy type of the copied backup.- Parameters:
requestedBackupStorageRedundancy- the requestedBackupStorageRedundancy value to set.- Returns:
- the UpdateLongTermRetentionBackupParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-