Class UpdateDrPlanStepDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.UpdateDrPlanStepDetails.Builder
-
- Enclosing class:
- UpdateDrPlanStepDetails
public static class UpdateDrPlanStepDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDrPlanStepDetails
build()
UpdateDrPlanStepDetails.Builder
copy(UpdateDrPlanStepDetails model)
UpdateDrPlanStepDetails.Builder
displayName(String displayName)
The display name of the step in a group.UpdateDrPlanStepDetails.Builder
errorMode(DrPlanStepErrorMode errorMode)
The error mode for this step.UpdateDrPlanStepDetails.Builder
id(String id)
The unique id of the step.UpdateDrPlanStepDetails.Builder
isEnabled(Boolean isEnabled)
A flag indicating whether this step should be enabled for execution.UpdateDrPlanStepDetails.Builder
timeout(Integer timeout)
The timeout in seconds for executing this step.UpdateDrPlanStepDetails.Builder
userDefinedStep(UpdateDrPlanUserDefinedStepDetails userDefinedStep)
-
-
-
Method Detail
-
id
public UpdateDrPlanStepDetails.Builder id(String id)
The unique id of the step.Example: sgid1.step..uniqueID
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public UpdateDrPlanStepDetails.Builder displayName(String displayName)
The display name of the step in a group.Example: My_STEP_3A - EBS Start - STAGE A
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
errorMode
public UpdateDrPlanStepDetails.Builder errorMode(DrPlanStepErrorMode errorMode)
The error mode for this step.The default error mode for the step is STOP_ON_ERROR.
- Parameters:
errorMode
- the value to set- Returns:
- this builder
-
timeout
public UpdateDrPlanStepDetails.Builder timeout(Integer timeout)
The timeout in seconds for executing this step.When creating a new step, if no timeout is specified, the default timeout is set to 3600 seconds.
Example: 600
- Parameters:
timeout
- the value to set- Returns:
- this builder
-
isEnabled
public UpdateDrPlanStepDetails.Builder isEnabled(Boolean isEnabled)
A flag indicating whether this step should be enabled for execution.The default value for the isEnabled flag is true.
Example: true
- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
userDefinedStep
public UpdateDrPlanStepDetails.Builder userDefinedStep(UpdateDrPlanUserDefinedStepDetails userDefinedStep)
-
build
public UpdateDrPlanStepDetails build()
-
copy
public UpdateDrPlanStepDetails.Builder copy(UpdateDrPlanStepDetails model)
-
-