public static class UpdateProtectionPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateProtectionPolicyDetails.Builder |
backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
The maximum number of days to retain backups for a protected database.
|
UpdateProtectionPolicyDetails |
build() |
UpdateProtectionPolicyDetails.Builder |
copy(UpdateProtectionPolicyDetails model) |
UpdateProtectionPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateProtectionPolicyDetails.Builder |
displayName(String displayName)
A user provided name for the protection policy.
|
UpdateProtectionPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
public UpdateProtectionPolicyDetails.Builder displayName(String displayName)
A user provided name for the protection policy. The ‘displayName’ does not have to be unique, and it can be modified. Avoid entering confidential information.
displayName
- the value to setpublic UpdateProtectionPolicyDetails.Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
The maximum number of days to retain backups for a protected database.
backupRetentionPeriodInDays
- the value to setpublic UpdateProtectionPolicyDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic UpdateProtectionPolicyDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
. For more information, see
Resource
Tags
definedTags
- the value to setpublic UpdateProtectionPolicyDetails build()
public UpdateProtectionPolicyDetails.Builder copy(UpdateProtectionPolicyDetails model)
Copyright © 2016–2024. All rights reserved.