Class CreateDrPlanDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.CreateDrPlanDetails.Builder
 
- 
- Enclosing class:
- CreateDrPlanDetails
 
 public static class CreateDrPlanDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
displayNamepublic 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
 
 - 
typepublic CreateDrPlanDetails.Builder type(DrPlanType type) The type of DR plan to be created.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
drProtectionGroupIdpublic 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
 
 - 
sourcePlanIdpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic CreateDrPlanDetails build() 
 - 
copypublic CreateDrPlanDetails.Builder copy(CreateDrPlanDetails model) 
 
- 
 
-