Class DrPlanStepExecution.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrPlanStepExecution.Builder
 
- 
- Enclosing class:
- DrPlanStepExecution
 
 public static class DrPlanStepExecution.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrPlanStepExecutionbuild()DrPlanStepExecution.Buildercopy(DrPlanStepExecution model)DrPlanStepExecution.BuilderdisplayName(String displayName)The display name of the step execution.DrPlanStepExecution.BuilderexecutionDurationInSec(Integer executionDurationInSec)The total duration in seconds taken to complete the step execution.DrPlanStepExecution.BuildergroupId(String groupId)The unique id of the group to which this step belongs.DrPlanStepExecution.BuilderlogLocation(ObjectStorageLogLocation logLocation)DrPlanStepExecution.Builderstatus(DrPlanStepExecutionStatus status)The status of the step execution.DrPlanStepExecution.BuilderstatusDetails(String statusDetails)Additional details on the step execution status.DrPlanStepExecution.BuilderstepId(String stepId)The unique id of the step.DrPlanStepExecution.BuildertimeEnded(Date timeEnded)The time when execution ended.DrPlanStepExecution.BuildertimeStarted(Date timeStarted)The time when step execution began.DrPlanStepExecution.Buildertype(DrPlanStepType type)The step type.DrPlanStepExecution.BuildertypeDisplayName(String typeDisplayName)The display name of the DR Plan step type.
 
- 
- 
- 
Method Detail- 
stepIdpublic DrPlanStepExecution.Builder stepId(String stepId) The unique id of the step.Must not be modified by user. Example: sgid1.step..uniqueID - Parameters:
- stepId- the value to set
- Returns:
- this builder
 
 - 
typepublic DrPlanStepExecution.Builder type(DrPlanStepType type) The step type.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
groupIdpublic DrPlanStepExecution.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
 
 - 
displayNamepublic DrPlanStepExecution.Builder displayName(String displayName) The display name of the step execution.Example: DATABASE_SWITCHOVER - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typeDisplayNamepublic DrPlanStepExecution.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
 
 - 
logLocationpublic DrPlanStepExecution.Builder logLocation(ObjectStorageLogLocation logLocation) 
 - 
statuspublic DrPlanStepExecution.Builder status(DrPlanStepExecutionStatus status) The status of the step execution.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
statusDetailspublic DrPlanStepExecution.Builder statusDetails(String statusDetails) Additional details on the step execution status.Example: This step failed to complete due to a timeout - Parameters:
- statusDetails- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic DrPlanStepExecution.Builder timeStarted(Date timeStarted) The time when step execution began.An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z - Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic DrPlanStepExecution.Builder timeEnded(Date timeEnded) The time when execution ended.An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z - Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
executionDurationInSecpublic DrPlanStepExecution.Builder executionDurationInSec(Integer executionDurationInSec) The total duration in seconds taken to complete the step execution.Example: 35 - Parameters:
- executionDurationInSec- the value to set
- Returns:
- this builder
 
 - 
buildpublic DrPlanStepExecution build() 
 - 
copypublic DrPlanStepExecution.Builder copy(DrPlanStepExecution model) 
 
- 
 
-