public static class CreateDeletionPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateDeletionPolicyDetails.Builder |
automaticBackupRetention(CreateDeletionPolicyDetails.AutomaticBackupRetention automaticBackupRetention)
Specifies if any automatic backups created for a DB System should be retained or deleted
when the DB System is deleted.
|
CreateDeletionPolicyDetails |
build() |
CreateDeletionPolicyDetails.Builder |
copy(CreateDeletionPolicyDetails model) |
CreateDeletionPolicyDetails.Builder |
finalBackup(CreateDeletionPolicyDetails.FinalBackup finalBackup)
Specifies whether or not a backup is taken when the DB System is deleted.
|
CreateDeletionPolicyDetails.Builder |
isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the DB System can be deleted.
|
public CreateDeletionPolicyDetails.Builder automaticBackupRetention(CreateDeletionPolicyDetails.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 CreateDeletionPolicyDetails.Builder finalBackup(CreateDeletionPolicyDetails.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 CreateDeletionPolicyDetails.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 CreateDeletionPolicyDetails build()
public CreateDeletionPolicyDetails.Builder copy(CreateDeletionPolicyDetails model)
Copyright © 2016–2024. All rights reserved.