public static class DrPlanGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrPlanGroup |
build() |
DrPlanGroup.Builder |
copy(DrPlanGroup model) |
DrPlanGroup.Builder |
displayName(String displayName)
The display name of the group.
|
DrPlanGroup.Builder |
id(String id)
The unique id of the group.
|
DrPlanGroup.Builder |
isPauseEnabled(Boolean isPauseEnabled)
A flag indicating whether this group should be enabled for execution.
|
DrPlanGroup.Builder |
refreshStatus(DrPlanGroupRefreshStatus refreshStatus)
The DR plan group refresh status.
|
DrPlanGroup.Builder |
steps(List<DrPlanStep> steps)
The list of steps in the group.
|
DrPlanGroup.Builder |
type(DrPlanGroupType type)
The group type.
|
public DrPlanGroup.Builder id(String id)
The unique id of the group. Must not be modified by user.
Example: sgid1.group..uniqueID
id
- the value to setpublic DrPlanGroup.Builder type(DrPlanGroupType type)
The group type.
Example: BUILT_IN
type
- the value to setpublic DrPlanGroup.Builder refreshStatus(DrPlanGroupRefreshStatus refreshStatus)
The DR plan group refresh status.
Example: GROUP_MODIFIED
refreshStatus
- the value to setpublic DrPlanGroup.Builder displayName(String displayName)
The display name of the group.
Example: DATABASE_SWITCHOVER
displayName
- the value to setpublic DrPlanGroup.Builder isPauseEnabled(Boolean isPauseEnabled)
A flag indicating whether this group should be enabled for execution. This flag is only
applicable to the USER_DEFINED_PAUSE
group. The flag should be null for the
remaining group types.
Example: true
isPauseEnabled
- the value to setpublic DrPlanGroup.Builder steps(List<DrPlanStep> steps)
The list of steps in the group.
steps
- the value to setpublic DrPlanGroup build()
public DrPlanGroup.Builder copy(DrPlanGroup model)
Copyright © 2016–2024. All rights reserved.