Class CreateDrPlanExecutionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.CreateDrPlanExecutionDetails.Builder
-
- Enclosing class:
- CreateDrPlanExecutionDetails
public static class CreateDrPlanExecutionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDrPlanExecutionDetailsbuild()CreateDrPlanExecutionDetails.Buildercopy(CreateDrPlanExecutionDetails model)CreateDrPlanExecutionDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDrPlanExecutionDetails.BuilderdisplayName(String displayName)The display name of the DR plan execution.CreateDrPlanExecutionDetails.BuilderexecutionOptions(DrPlanExecutionOptionDetails executionOptions)CreateDrPlanExecutionDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateDrPlanExecutionDetails.BuilderplanId(String planId)The OCID of the DR plan.
-
-
-
Method Detail
-
displayName
public CreateDrPlanExecutionDetails.Builder displayName(String displayName)
The display name of the DR plan execution.Example: Execution - EBS Switchover PHX to IAD
- Parameters:
displayName- the value to set- Returns:
- this builder
-
planId
public CreateDrPlanExecutionDetails.Builder planId(String planId)
The OCID of the DR plan.Example: ocid1.drplan.oc1..uniqueID
- Parameters:
planId- the value to set- Returns:
- this builder
-
executionOptions
public CreateDrPlanExecutionDetails.Builder executionOptions(DrPlanExecutionOptionDetails executionOptions)
-
freeformTags
public CreateDrPlanExecutionDetails.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 CreateDrPlanExecutionDetails.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 CreateDrPlanExecutionDetails build()
-
copy
public CreateDrPlanExecutionDetails.Builder copy(CreateDrPlanExecutionDetails model)
-
-