Class DrPlanGroupExecution.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.DrPlanGroupExecution.Builder
-
- Enclosing class:
- DrPlanGroupExecution
public static class DrPlanGroupExecution.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrPlanGroupExecutionbuild()DrPlanGroupExecution.Buildercopy(DrPlanGroupExecution model)DrPlanGroupExecution.BuilderdisplayName(String displayName)The display name of the group execution.DrPlanGroupExecution.BuilderexecutionDurationInSec(Integer executionDurationInSec)The total duration in seconds taken to complete group execution.DrPlanGroupExecution.BuildergroupId(String groupId)The unique id of the group.DrPlanGroupExecution.Builderstatus(DrPlanGroupExecutionStatus status)The status of the group execution.DrPlanGroupExecution.BuilderstatusDetails(String statusDetails)Additional details on the group execution status.DrPlanGroupExecution.BuilderstepExecutions(List<DrPlanStepExecution> stepExecutions)A list of step executions in the group.DrPlanGroupExecution.BuildertimeEnded(Date timeEnded)The time when group execution ended.DrPlanGroupExecution.BuildertimeStarted(Date timeStarted)The time when group execution began.DrPlanGroupExecution.Buildertype(DrPlanGroupType type)The group type.
-
-
-
Method Detail
-
groupId
public DrPlanGroupExecution.Builder groupId(String groupId)
The unique id of the group.Must not be modified by user.
Example: sgid1.group..uniqueID
- Parameters:
groupId- the value to set- Returns:
- this builder
-
type
public DrPlanGroupExecution.Builder type(DrPlanGroupType type)
The group type.Example: BUILT_IN
- Parameters:
type- the value to set- Returns:
- this builder
-
displayName
public DrPlanGroupExecution.Builder displayName(String displayName)
The display name of the group execution.Example: DATABASE_SWITCHOVER
- Parameters:
displayName- the value to set- Returns:
- this builder
-
status
public DrPlanGroupExecution.Builder status(DrPlanGroupExecutionStatus status)
The status of the group execution.- Parameters:
status- the value to set- Returns:
- this builder
-
statusDetails
public DrPlanGroupExecution.Builder statusDetails(String statusDetails)
Additional details on the group execution status.Example: A total of [3] steps failed in the group
- Parameters:
statusDetails- the value to set- Returns:
- this builder
-
timeStarted
public DrPlanGroupExecution.Builder timeStarted(Date timeStarted)
The time when group execution began.An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public DrPlanGroupExecution.Builder timeEnded(Date timeEnded)
The time when group execution ended.An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
executionDurationInSec
public DrPlanGroupExecution.Builder executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete group execution.Example: 120
- Parameters:
executionDurationInSec- the value to set- Returns:
- this builder
-
stepExecutions
public DrPlanGroupExecution.Builder stepExecutions(List<DrPlanStepExecution> stepExecutions)
A list of step executions in the group.- Parameters:
stepExecutions- the value to set- Returns:
- this builder
-
build
public DrPlanGroupExecution build()
-
copy
public DrPlanGroupExecution.Builder copy(DrPlanGroupExecution model)
-
-