public static class DeletionPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeletionPolicyDetails.Builder |
automaticBackupRetention(DeletionPolicyDetails.AutomaticBackupRetention automaticBackupRetention)
Specifies if any automatic backups created for a DB System should be retained or deleted
when the DB System is deleted.
|
DeletionPolicyDetails |
build() |
DeletionPolicyDetails.Builder |
copy(DeletionPolicyDetails model) |
DeletionPolicyDetails.Builder |
finalBackup(DeletionPolicyDetails.FinalBackup finalBackup)
Specifies whether or not a backup is taken when the DB System is deleted.
|
DeletionPolicyDetails.Builder |
isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the DB System can be deleted.
|
public DeletionPolicyDetails.Builder automaticBackupRetention(DeletionPolicyDetails.AutomaticBackupRetention automaticBackupRetention)
Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
automaticBackupRetention
- the value to setpublic DeletionPolicyDetails.Builder finalBackup(DeletionPolicyDetails.FinalBackup finalBackup)
Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted.
finalBackup
- the value to setpublic DeletionPolicyDetails.Builder isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.
isDeleteProtected
- the value to setpublic DeletionPolicyDetails build()
public DeletionPolicyDetails.Builder copy(DeletionPolicyDetails model)
Copyright © 2016–2024. All rights reserved.