Class DrPlanGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.DrPlanGroup.Builder
-
- Enclosing class:
- DrPlanGroup
public static class DrPlanGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public DrPlanGroup.Builder id(String id)
The unique id of the group.Must not be modified by user.
Example: sgid1.group..uniqueID
- Parameters:
id
- the value to set- Returns:
- this builder
-
type
public DrPlanGroup.Builder type(DrPlanGroupType type)
The group type.Example: BUILT_IN
- Parameters:
type
- the value to set- Returns:
- this builder
-
refreshStatus
public DrPlanGroup.Builder refreshStatus(DrPlanGroupRefreshStatus refreshStatus)
The DR plan group refresh status.Example: GROUP_MODIFIED
- Parameters:
refreshStatus
- the value to set- Returns:
- this builder
-
displayName
public DrPlanGroup.Builder displayName(String displayName)
The display name of the group.Example: DATABASE_SWITCHOVER
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
isPauseEnabled
public 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
- Parameters:
isPauseEnabled
- the value to set- Returns:
- this builder
-
steps
public DrPlanGroup.Builder steps(List<DrPlanStep> steps)
The list of steps in the group.- Parameters:
steps
- the value to set- Returns:
- this builder
-
build
public DrPlanGroup build()
-
copy
public DrPlanGroup.Builder copy(DrPlanGroup model)
-
-