public static class DrPlanSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrPlanSummary |
build() |
DrPlanSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the DR plan.
|
DrPlanSummary.Builder |
copy(DrPlanSummary model) |
DrPlanSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrPlanSummary.Builder |
displayName(String displayName)
The display name of the DR plan.
|
DrPlanSummary.Builder |
drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan belongs.
|
DrPlanSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrPlanSummary.Builder |
id(String id)
The OCID of the DR plan.
|
DrPlanSummary.Builder |
lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan’s current state in more detail.
|
DrPlanSummary.Builder |
lifecycleState(DrPlanLifecycleState lifecycleState)
The current state of the DR plan.
|
DrPlanSummary.Builder |
peerDrProtectionGroupId(String peerDrProtectionGroupId)
The OCID of the peer DR protection group associated with this plan’s DR protection group.
|
DrPlanSummary.Builder |
peerRegion(String peerRegion)
The region of the peer DR protection group associated with this plan’s DR protection
group.
|
DrPlanSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DrPlanSummary.Builder |
timeCreated(Date timeCreated)
The date and time the DR plan was created.
|
DrPlanSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the DR plan was updated.
|
DrPlanSummary.Builder |
type(DrPlanType type)
The type of the DR plan.
|
public DrPlanSummary.Builder id(String id)
The OCID of the DR plan.
Example: ocid1.drplan.oc1..uniqueID
id
- the value to setpublic DrPlanSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DR plan.
Example: ocid1.compartment.oc1..uniqueID
compartmentId
- the value to setpublic DrPlanSummary.Builder displayName(String displayName)
The display name of the DR plan.
Example: EBS Switchover PHX to IAD
displayName
- the value to setpublic DrPlanSummary.Builder type(DrPlanType type)
The type of the DR plan.
Example: SWITCHOVER
type
- the value to setpublic DrPlanSummary.Builder drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan belongs.
Example: ocid1.drprotectiongroup.oc1..uniqueID
drProtectionGroupId
- the value to setpublic DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary.Builder lifecycleState(DrPlanLifecycleState lifecycleState)
The current state of the DR plan.
Example: ACTIVE
lifecycleState
- the value to setpublic DrPlanSummary.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan’s current state in more detail.
lifeCycleDetails
- the value to setpublic DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary build()
public DrPlanSummary.Builder copy(DrPlanSummary model)
Copyright © 2016–2024. All rights reserved.