Class DrPlanStep.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrPlanStep.Builder
 
- 
- Enclosing class:
- DrPlanStep
 
 public static class DrPlanStep.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrPlanStepbuild()DrPlanStep.Buildercopy(DrPlanStep model)DrPlanStep.BuilderdisplayName(String displayName)The display name of the group.DrPlanStep.BuildererrorMode(DrPlanStepErrorMode errorMode)The error mode for this step.DrPlanStep.BuildergroupId(String groupId)The unique id of the group to which this step belongs.DrPlanStep.Builderid(String id)The unique id of the step.DrPlanStep.BuilderisEnabled(Boolean isEnabled)A flag indicating whether this step should be enabled for execution.DrPlanStep.BuildermemberId(String memberId)The OCID of the member associated with this step.DrPlanStep.BuilderrefreshStatus(DrPlanStepRefreshStatus refreshStatus)The DR plan step refresh status.DrPlanStep.Buildertimeout(Integer timeout)The timeout in seconds for executing this step.DrPlanStep.Buildertype(DrPlanStepType type)The plan step type.DrPlanStep.BuildertypeDisplayName(String typeDisplayName)The display name of the DR Plan step type.DrPlanStep.BuilderuserDefinedStep(DrPlanUserDefinedStep userDefinedStep)
 
- 
- 
- 
Method Detail- 
idpublic DrPlanStep.Builder id(String id) The unique id of the step.Must not be modified by the user. Example: sgid1.step..uniqueID - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
groupIdpublic DrPlanStep.Builder groupId(String groupId) The unique id of the group to which this step belongs.Must not be modified by user. Example: sgid1.group..uniqueID - Parameters:
- groupId- the value to set
- Returns:
- this builder
 
 - 
memberIdpublic DrPlanStep.Builder memberId(String memberId) The OCID of the member associated with this step.Example: ocid1.database.oc1..uniqueID - Parameters:
- memberId- the value to set
- Returns:
- this builder
 
 - 
typepublic DrPlanStep.Builder type(DrPlanStepType type) The plan step type.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
refreshStatuspublic DrPlanStep.Builder refreshStatus(DrPlanStepRefreshStatus refreshStatus) The DR plan step refresh status.Example: STEP_ADDED - Parameters:
- refreshStatus- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DrPlanStep.Builder displayName(String displayName) The display name of the group.Example: DATABASE_SWITCHOVER - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typeDisplayNamepublic DrPlanStep.Builder typeDisplayName(String typeDisplayName) The display name of the DR Plan step type.Example: Database Switchover - Parameters:
- typeDisplayName- the value to set
- Returns:
- this builder
 
 - 
errorModepublic DrPlanStep.Builder errorMode(DrPlanStepErrorMode errorMode) The error mode for this step.- Parameters:
- errorMode- the value to set
- Returns:
- this builder
 
 - 
timeoutpublic DrPlanStep.Builder timeout(Integer timeout) The timeout in seconds for executing this step.Example: 600 - Parameters:
- timeout- the value to set
- Returns:
- this builder
 
 - 
isEnabledpublic DrPlanStep.Builder isEnabled(Boolean isEnabled) A flag indicating whether this step should be enabled for execution.Example: true - Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
userDefinedSteppublic DrPlanStep.Builder userDefinedStep(DrPlanUserDefinedStep userDefinedStep) 
 - 
buildpublic DrPlanStep build() 
 - 
copypublic DrPlanStep.Builder copy(DrPlanStep model) 
 
- 
 
-