public static class CreateDrPlanDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateDrPlanDetails |
build() |
CreateDrPlanDetails.Builder |
copy(CreateDrPlanDetails model) |
CreateDrPlanDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateDrPlanDetails.Builder |
displayName(String displayName)
The display name of the DR plan being created.
|
CreateDrPlanDetails.Builder |
drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan belongs.
|
CreateDrPlanDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateDrPlanDetails.Builder |
sourcePlanId(String sourcePlanId)
The OCID of the source DR plan that should be cloned.
|
CreateDrPlanDetails.Builder |
type(DrPlanType type)
The type of DR plan to be created.
|
public CreateDrPlanDetails.Builder displayName(String displayName)
The display name of the DR plan being created.
Example: EBS Switchover PHX to IAD
displayName
- the value to setpublic CreateDrPlanDetails.Builder type(DrPlanType type)
The type of DR plan to be created.
type
- the value to setpublic CreateDrPlanDetails.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 CreateDrPlanDetails.Builder sourcePlanId(String sourcePlanId)
The OCID of the source DR plan that should be cloned.
Example: ocid1.drplan.oc1..uniqueID
sourcePlanId
- the value to setpublic CreateDrPlanDetails.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 CreateDrPlanDetails.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 CreateDrPlanDetails build()
public CreateDrPlanDetails.Builder copy(CreateDrPlanDetails model)
Copyright © 2016–2024. All rights reserved.