Class CreateDrPlanDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.CreateDrPlanDetails.Builder
-
- Enclosing class:
- CreateDrPlanDetails
public static class CreateDrPlanDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDrPlanDetailsbuild()CreateDrPlanDetails.Buildercopy(CreateDrPlanDetails model)CreateDrPlanDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDrPlanDetails.BuilderdisplayName(String displayName)The display name of the DR plan being created.CreateDrPlanDetails.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group to which this DR plan belongs.CreateDrPlanDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateDrPlanDetails.BuildersourcePlanId(String sourcePlanId)The OCID of the source DR plan that should be cloned.CreateDrPlanDetails.Buildertype(DrPlanType type)The type of DR plan to be created.
-
-
-
Method Detail
-
displayName
public CreateDrPlanDetails.Builder displayName(String displayName)
The display name of the DR plan being created.Example: EBS Switchover PHX to IAD
- Parameters:
displayName- the value to set- Returns:
- this builder
-
type
public CreateDrPlanDetails.Builder type(DrPlanType type)
The type of DR plan to be created.- Parameters:
type- the value to set- Returns:
- this builder
-
drProtectionGroupId
public CreateDrPlanDetails.Builder drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan belongs.Example: ocid1.drprotectiongroup.oc1..uniqueID
- Parameters:
drProtectionGroupId- the value to set- Returns:
- this builder
-
sourcePlanId
public CreateDrPlanDetails.Builder sourcePlanId(String sourcePlanId)
The OCID of the source DR plan that should be cloned.Example: ocid1.drplan.oc1..uniqueID
- Parameters:
sourcePlanId- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateDrPlanDetails build()
-
copy
public CreateDrPlanDetails.Builder copy(CreateDrPlanDetails model)
-
-