Interface Stage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Stage.Builder,Stage>,SdkBuilder<Stage.Builder,Stage>,SdkPojo
- Enclosing class:
- Stage
public static interface Stage.Builder extends SdkPojo, CopyableBuilder<Stage.Builder,Stage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stage.BuilderdurationInMinutes(Integer durationInMinutes)The time to wait until beginning the next stage.Stage.Buildertargets(Collection<Target> targets)The contacts or contact methods that the escalation plan or engagement plan is engaging.Stage.Buildertargets(Consumer<Target.Builder>... targets)The contacts or contact methods that the escalation plan or engagement plan is engaging.Stage.Buildertargets(Target... targets)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 Detail
-
durationInMinutes
Stage.Builder durationInMinutes(Integer 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
Stage.Builder targets(Collection<Target> 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
Stage.Builder targets(Target... 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
Stage.Builder targets(Consumer<Target.Builder>... 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.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - 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:
#targets(java.util.Collection)
-
-