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 DrPlanGroupbuild()DrPlanGroup.Buildercopy(DrPlanGroup model)DrPlanGroup.BuilderdisplayName(String displayName)The display name of the group.DrPlanGroup.Builderid(String id)The unique id of the group.DrPlanGroup.BuilderisPauseEnabled(Boolean isPauseEnabled)A flag indicating whether this group should be enabled for execution.DrPlanGroup.BuilderrefreshStatus(DrPlanGroupRefreshStatus refreshStatus)The DR plan group refresh status.DrPlanGroup.Buildersteps(List<DrPlanStep> steps)The list of steps in the group.DrPlanGroup.Buildertype(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)
-
-