Interface Plan.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Plan.Builder,Plan>,SdkBuilder<Plan.Builder,Plan>,SdkPojo
- Enclosing class:
- Plan
public static interface Plan.Builder extends SdkPojo, CopyableBuilder<Plan.Builder,Plan>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Plan.BuilderrotationIds(String... rotationIds)The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.Plan.BuilderrotationIds(Collection<String> rotationIds)The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.Plan.Builderstages(Collection<Stage> stages)A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.Plan.Builderstages(Consumer<Stage.Builder>... stages)A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.Plan.Builderstages(Stage... stages)A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
stages
Plan.Builder stages(Collection<Stage> stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
- Parameters:
stages- A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stages
Plan.Builder stages(Stage... stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
- Parameters:
stages- A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stages
Plan.Builder stages(Consumer<Stage.Builder>... stages)
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
This is a convenience method that creates an instance of theStage.Builderavoiding the need to create one manually viaStage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stages(List.) - Parameters:
stages- a consumer that will call methods onStage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stages(java.util.Collection)
-
rotationIds
Plan.Builder rotationIds(Collection<String> rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
- Parameters:
rotationIds- The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotationIds
Plan.Builder rotationIds(String... rotationIds)
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
- Parameters:
rotationIds- The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-