public static class UpdateBackupPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateBackupPolicyDetails |
build() |
UpdateBackupPolicyDetails.Builder |
copy(UpdateBackupPolicyDetails model) |
UpdateBackupPolicyDetails.Builder |
copyPolicies(List<CopyPolicy> copyPolicies)
List of policies of a DB system to schedule cross-region DB system backup copy.
|
UpdateBackupPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
UpdateBackupPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope.
|
UpdateBackupPolicyDetails.Builder |
isEnabled(Boolean isEnabled)
Specifies if automatic backups are enabled.
|
UpdateBackupPolicyDetails.Builder |
pitrPolicy(PitrPolicy pitrPolicy) |
UpdateBackupPolicyDetails.Builder |
retentionInDays(Integer retentionInDays)
Number of days to retain an automatic backup.
|
UpdateBackupPolicyDetails.Builder |
windowStartTime(String windowStartTime)
The start of a 30-minute window of time in which daily, automated backups occur.
|
public UpdateBackupPolicyDetails.Builder isEnabled(Boolean isEnabled)
Specifies if automatic backups are enabled.
isEnabled
- the value to setpublic UpdateBackupPolicyDetails.Builder copyPolicies(List<CopyPolicy> copyPolicies)
List of policies of a DB system to schedule cross-region DB system backup copy.
The policy includes the name of the destination region to which the DB system backup will be copied, and an optional parameter which specifies the retention period of the copied DB system backup in days.
*Note:** Currently, only one policy can be specified in the list.
copyPolicies
- the value to setpublic UpdateBackupPolicyDetails.Builder windowStartTime(String windowStartTime)
The start of a 30-minute window of time in which daily, automated backups occur.
This should be in the format of the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.
At some point in the window, the system may incur a brief service disruption as the backup is performed.
windowStartTime
- the value to setpublic UpdateBackupPolicyDetails.Builder retentionInDays(Integer retentionInDays)
Number of days to retain an automatic backup.
retentionInDays
- the value to setpublic UpdateBackupPolicyDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only.
Tags defined here will be copied verbatim as tags on the Backup resource created by this BackupPolicy.
Example: {"bar-key": "value"}
freeformTags
- the value to setpublic UpdateBackupPolicyDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces.
Tags defined here will be copied verbatim as tags on the Backup resource created by this BackupPolicy.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic UpdateBackupPolicyDetails.Builder pitrPolicy(PitrPolicy pitrPolicy)
public UpdateBackupPolicyDetails build()
public UpdateBackupPolicyDetails.Builder copy(UpdateBackupPolicyDetails model)
Copyright © 2016–2025. All rights reserved.