public static class DrPlanGroupExecution.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrPlanGroupExecution |
build() |
DrPlanGroupExecution.Builder |
copy(DrPlanGroupExecution model) |
DrPlanGroupExecution.Builder |
displayName(String displayName)
The display name of the group execution.
|
DrPlanGroupExecution.Builder |
executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete group execution.
|
DrPlanGroupExecution.Builder |
groupId(String groupId)
The unique id of the group.
|
DrPlanGroupExecution.Builder |
status(DrPlanGroupExecutionStatus status)
The status of the group execution.
|
DrPlanGroupExecution.Builder |
statusDetails(String statusDetails)
Additional details on the group execution status.
|
DrPlanGroupExecution.Builder |
stepExecutions(List<DrPlanStepExecution> stepExecutions)
A list of step executions in the group.
|
DrPlanGroupExecution.Builder |
timeEnded(Date timeEnded)
The time when group execution ended.
|
DrPlanGroupExecution.Builder |
timeStarted(Date timeStarted)
The time when group execution began.
|
DrPlanGroupExecution.Builder |
type(DrPlanGroupType type)
The group type.
|
public DrPlanGroupExecution.Builder groupId(String groupId)
The unique id of the group. Must not be modified by user.
Example: sgid1.group..uniqueID
groupId
- the value to setpublic DrPlanGroupExecution.Builder type(DrPlanGroupType type)
The group type.
Example: BUILT_IN
type
- the value to setpublic DrPlanGroupExecution.Builder displayName(String displayName)
The display name of the group execution.
Example: DATABASE_SWITCHOVER
displayName
- the value to setpublic DrPlanGroupExecution.Builder status(DrPlanGroupExecutionStatus status)
The status of the group execution.
status
- the value to setpublic DrPlanGroupExecution.Builder statusDetails(String statusDetails)
Additional details on the group execution status.
Example: A total of [3] steps failed in the group
statusDetails
- the value to setpublic DrPlanGroupExecution.Builder timeStarted(Date timeStarted)
The time when group execution began. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeStarted
- the value to setpublic DrPlanGroupExecution.Builder timeEnded(Date timeEnded)
The time when group execution ended. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeEnded
- the value to setpublic DrPlanGroupExecution.Builder executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete group execution.
Example: 120
executionDurationInSec
- the value to setpublic DrPlanGroupExecution.Builder stepExecutions(List<DrPlanStepExecution> stepExecutions)
A list of step executions in the group.
stepExecutions
- the value to setpublic DrPlanGroupExecution build()
public DrPlanGroupExecution.Builder copy(DrPlanGroupExecution model)
Copyright © 2016–2024. All rights reserved.