Package | Description |
---|---|
com.oracle.bmc.recovery.model |
Modifier and Type | Method and Description |
---|---|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
The maximum number of days to retain backups for a protected database.
|
static ProtectionPolicy.Builder |
ProtectionPolicy.builder()
Create a new builder.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.compartmentId(String compartmentId)
The OCID of the compartment that contains the protection policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.copy(ProtectionPolicy model) |
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.displayName(String displayName)
A user provided name for the protection policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.id(String id)
The protection policy OCID.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.isPredefinedPolicy(Boolean isPredefinedPolicy)
Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.lifecycleDetails(String lifecycleDetails)
Detailed description about the current lifecycle state of the protection policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.lifecycleState(LifecycleState lifecycleState)
The current state of the protection policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.mustEnforceCloudLocality(Boolean mustEnforceCloudLocality)
Indicates whether the protection policy enforces Recovery Service to retain backups in
the same cloud service environment where your Oracle Database is provisioned.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.policyLockedDateTime(String policyLockedDateTime)
An RFC3339 formatted datetime string that specifies the exact date and time for the
retention lock to take effect and permanently lock the retention period defined in the
policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.timeCreated(Date timeCreated)
An RFC3339 formatted datetime string that indicates the created time for the protection
policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.Builder.timeUpdated(Date timeUpdated)
An RFC3339 formatted datetime string that indicates the updated time for the protection
policy.
|
ProtectionPolicy.Builder |
ProtectionPolicy.toBuilder() |
Copyright © 2016–2024. All rights reserved.