Interface OnExitLifecycle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OnExitLifecycle.Builder,
,OnExitLifecycle> SdkBuilder<OnExitLifecycle.Builder,
,OnExitLifecycle> SdkPojo
- Enclosing class:
OnExitLifecycle
public static interface OnExitLifecycle.Builder
extends SdkPojo, CopyableBuilder<OnExitLifecycle.Builder,OnExitLifecycle>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<Event> events) Specifies theactions
that are performed when the state is exited and thecondition
isTRUE
.events
(Consumer<Event.Builder>... events) Specifies theactions
that are performed when the state is exited and thecondition
isTRUE
.Specifies theactions
that are performed when the state is exited and thecondition
isTRUE
.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
-
events
Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.- Parameters:
events
- Specifies theactions
that are performed when the state is exited and thecondition
isTRUE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.- Parameters:
events
- Specifies theactions
that are performed when the state is exited and thecondition
isTRUE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Specifies the
This is a convenience method that creates an instance of theactions
that are performed when the state is exited and thecondition
isTRUE
.Event.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<Event>)
.- Parameters:
events
- a consumer that will call methods onEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-