Interface Plan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Plan.Builder,
,Plan> SdkBuilder<Plan.Builder,
,Plan> SdkPojo
- Enclosing class:
Plan
-
Method Summary
Modifier and TypeMethodDescriptionrotationIds
(String... rotationIds) The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.rotationIds
(Collection<String> rotationIds) The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.stages
(Collection<Stage> stages) A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.stages
(Consumer<Stage.Builder>... stages) A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaStage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostages(List<Stage>)
.- 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:
-
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
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.
-