Interface Stage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Stage.Builder,
,Stage> SdkBuilder<Stage.Builder,
,Stage> SdkPojo
- Enclosing class:
Stage
-
Method Summary
Modifier and TypeMethodDescriptiondurationInMinutes
(Integer durationInMinutes) The time to wait until beginning the next stage.targets
(Collection<Target> targets) The contacts or contact methods that the escalation plan or engagement plan is engaging.targets
(Consumer<Target.Builder>... targets) The contacts or contact methods that the escalation plan or engagement plan is engaging.The contacts or contact methods that the escalation plan or engagement plan is engaging.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
-
durationInMinutes
The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.
- Parameters:
durationInMinutes
- The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The contacts or contact methods that the escalation plan or engagement plan is engaging.
- Parameters:
targets
- The contacts or contact methods that the escalation plan or engagement plan is engaging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The contacts or contact methods that the escalation plan or engagement plan is engaging.
- Parameters:
targets
- The contacts or contact methods that the escalation plan or engagement plan is engaging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The contacts or contact methods that the escalation plan or engagement plan is engaging.
This is a convenience method that creates an instance of theTarget.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<Target>)
.- Parameters:
targets
- a consumer that will call methods onTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-