public static class CreateBackupPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateBackupPolicyDetails |
build() |
CreateBackupPolicyDetails.Builder |
copy(CreateBackupPolicyDetails model) |
CreateBackupPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
CreateBackupPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope.
|
CreateBackupPolicyDetails.Builder |
isEnabled(Boolean isEnabled)
Specifies if automatic backups are enabled.
|
CreateBackupPolicyDetails.Builder |
pitrPolicy(PitrPolicy pitrPolicy) |
CreateBackupPolicyDetails.Builder |
retentionInDays(Integer retentionInDays)
Number of days to retain an automatic backup.
|
CreateBackupPolicyDetails.Builder |
windowStartTime(String windowStartTime)
The start of a 30-minute window of time in which daily, automated backups occur.
|
public CreateBackupPolicyDetails.Builder isEnabled(Boolean isEnabled)
Specifies if automatic backups are enabled.
isEnabled
- the value to setpublic CreateBackupPolicyDetails.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 CreateBackupPolicyDetails.Builder retentionInDays(Integer retentionInDays)
Number of days to retain an automatic backup.
retentionInDays
- the value to setpublic CreateBackupPolicyDetails.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 CreateBackupPolicyDetails.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 CreateBackupPolicyDetails.Builder pitrPolicy(PitrPolicy pitrPolicy)
public CreateBackupPolicyDetails build()
public CreateBackupPolicyDetails.Builder copy(CreateBackupPolicyDetails model)
Copyright © 2016–2024. All rights reserved.