public static class CreateProtectionPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateProtectionPolicyDetails.Builder |
backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
The maximum number of days to retain backups for a protected database.
|
CreateProtectionPolicyDetails |
build() |
CreateProtectionPolicyDetails.Builder |
compartmentId(String compartmentId)
Compartment Identifier
|
CreateProtectionPolicyDetails.Builder |
copy(CreateProtectionPolicyDetails model) |
CreateProtectionPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateProtectionPolicyDetails.Builder |
displayName(String displayName)
A user provided name for the protection policy.
|
CreateProtectionPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
public CreateProtectionPolicyDetails.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 CreateProtectionPolicyDetails.Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
The maximum number of days to retain backups for a protected database.
backupRetentionPeriodInDays
- the value to setpublic CreateProtectionPolicyDetails.Builder compartmentId(String compartmentId)
Compartment Identifier
compartmentId
- the value to setpublic CreateProtectionPolicyDetails.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 CreateProtectionPolicyDetails.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 CreateProtectionPolicyDetails build()
public CreateProtectionPolicyDetails.Builder copy(CreateProtectionPolicyDetails model)
Copyright © 2016–2024. All rights reserved.