Class UpdateDrPlanGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.UpdateDrPlanGroupDetails.Builder
-
- Enclosing class:
- UpdateDrPlanGroupDetails
public static class UpdateDrPlanGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDrPlanGroupDetailsbuild()UpdateDrPlanGroupDetails.Buildercopy(UpdateDrPlanGroupDetails model)UpdateDrPlanGroupDetails.BuilderdisplayName(String displayName)The display name of the group.UpdateDrPlanGroupDetails.Builderid(String id)The unique id of the group.UpdateDrPlanGroupDetails.BuilderisPauseEnabled(Boolean isPauseEnabled)A flag indicating whether this group should be enabled for execution.UpdateDrPlanGroupDetails.Buildersteps(List<UpdateDrPlanStepDetails> steps)The list of steps in this group.UpdateDrPlanGroupDetails.Buildertype(DrPlanGroupType type)The group type.
-
-
-
Method Detail
-
id
public UpdateDrPlanGroupDetails.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
-
displayName
public UpdateDrPlanGroupDetails.Builder displayName(String displayName)
The display name of the group.Example: My_GROUP_3 - EBS Start
- Parameters:
displayName- the value to set- Returns:
- this builder
-
type
public UpdateDrPlanGroupDetails.Builder type(DrPlanGroupType type)
The group type.Example: BUILT_IN
- Parameters:
type- the value to set- Returns:
- this builder
-
isPauseEnabled
public UpdateDrPlanGroupDetails.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 UpdateDrPlanGroupDetails.Builder steps(List<UpdateDrPlanStepDetails> steps)
The list of steps in this group.- Parameters:
steps- the value to set- Returns:
- this builder
-
build
public UpdateDrPlanGroupDetails build()
-
copy
public UpdateDrPlanGroupDetails.Builder copy(UpdateDrPlanGroupDetails model)
-
-