Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrPlan |
build() |
DrPlan.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the DR plan.
|
DrPlan.Builder |
copy(DrPlan model) |
DrPlan.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrPlan.Builder |
displayName(String displayName)
The display name of the DR plan.
|
DrPlan.Builder |
drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan belongs.
|
DrPlan.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrPlan.Builder |
id(String id)
The OCID of the DR plan.
|
DrPlan.Builder |
lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan’s current state in more detail.
|
DrPlan.Builder |
lifecycleState(DrPlanLifecycleState lifecycleState)
The current state of the DR plan.
|
DrPlan.Builder |
peerDrProtectionGroupId(String peerDrProtectionGroupId)
The OCID of the peer DR protection group associated with this plan’s DR protection group.
|
DrPlan.Builder |
peerRegion(String peerRegion)
The region of the peer DR protection group associated with this plan’s DR protection
group.
|
DrPlan.Builder |
planGroups(List<DrPlanGroup> planGroups)
The list of groups in this DR plan.
|
DrPlan.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DrPlan.Builder |
timeCreated(Date timeCreated)
The date and time the DR plan was created.
|
DrPlan.Builder |
timeUpdated(Date timeUpdated)
The date and time the DR plan was updated.
|
DrPlan.Builder |
type(DrPlanType type)
The type of the DR plan.
|
public DrPlan.Builder id(String id)
The OCID of the DR plan.
Example: ocid1.drplan.oc1..uniqueID
id
- the value to setpublic DrPlan.Builder displayName(String displayName)
The display name of the DR plan.
Example: EBS Switchover PHX to IAD
displayName
- the value to setpublic DrPlan.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DR plan.
Example: ocid1.compartment.oc1..uniqueID
compartmentId
- the value to setpublic DrPlan.Builder type(DrPlanType type)
The type of the DR plan.
type
- the value to setpublic DrPlan.Builder timeCreated(Date timeCreated)
The date and time the DR plan was created. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeCreated
- the value to setpublic DrPlan.Builder timeUpdated(Date timeUpdated)
The date and time the DR plan was updated. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeUpdated
- the value to setpublic DrPlan.Builder drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan belongs.
Example: ocid1.drplan.oc1..uniqueID
drProtectionGroupId
- the value to setpublic DrPlan.Builder peerDrProtectionGroupId(String peerDrProtectionGroupId)
The OCID of the peer DR protection group associated with this plan’s DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
peerDrProtectionGroupId
- the value to setpublic DrPlan.Builder peerRegion(String peerRegion)
The region of the peer DR protection group associated with this plan’s DR protection group.
Example: us-ashburn-1
peerRegion
- the value to setpublic DrPlan.Builder planGroups(List<DrPlanGroup> planGroups)
The list of groups in this DR plan.
planGroups
- the value to setpublic DrPlan.Builder lifecycleState(DrPlanLifecycleState lifecycleState)
The current state of the DR plan.
lifecycleState
- the value to setpublic DrPlan.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan’s current state in more detail.
lifeCycleDetails
- the value to setpublic DrPlan.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: {"Department": "Finance"}
freeformTags
- the value to setpublic DrPlan.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic DrPlan.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic DrPlan build()
public DrPlan.Builder copy(DrPlan model)
Copyright © 2016–2024. All rights reserved.