public static class DrPlanStepExecution.Builder extends Object
Constructor and Description |
---|
Builder() |
public DrPlanStepExecution.Builder stepId(String stepId)
The unique id of the step. Must not be modified by user.
Example: sgid1.step..uniqueID
stepId
- the value to setpublic DrPlanStepExecution.Builder type(DrPlanStepType type)
The step type.
type
- the value to setpublic 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
groupId
- the value to setpublic DrPlanStepExecution.Builder displayName(String displayName)
The display name of the step execution.
Example: DATABASE_SWITCHOVER
displayName
- the value to setpublic DrPlanStepExecution.Builder logLocation(ObjectStorageLogLocation logLocation)
public DrPlanStepExecution.Builder status(DrPlanStepExecutionStatus status)
The status of the step execution.
status
- the value to setpublic DrPlanStepExecution.Builder statusDetails(String statusDetails)
Additional details on the step execution status.
Example: This step failed to complete due to a timeout
statusDetails
- the value to setpublic DrPlanStepExecution.Builder timeStarted(Date timeStarted)
The time when step execution began. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeStarted
- the value to setpublic DrPlanStepExecution.Builder timeEnded(Date timeEnded)
The time when execution ended. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeEnded
- the value to setpublic DrPlanStepExecution.Builder executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete the step execution.
Example: 35
executionDurationInSec
- the value to setpublic DrPlanStepExecution build()
public DrPlanStepExecution.Builder copy(DrPlanStepExecution model)
Copyright © 2016–2024. All rights reserved.