public static interface OnExitLifecycle.Builder extends SdkPojo, CopyableBuilder<OnExitLifecycle.Builder,OnExitLifecycle>
| Modifier and Type | Method and Description |
|---|---|
OnExitLifecycle.Builder |
events(Collection<Event> events)
Specifies the
actions that are performed when the state is exited and the condition
is TRUE. |
OnExitLifecycle.Builder |
events(Consumer<Event.Builder>... events)
Specifies the
actions that are performed when the state is exited and the condition
is TRUE. |
OnExitLifecycle.Builder |
events(Event... events)
Specifies the
actions that are performed when the state is exited and the condition
is TRUE. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOnExitLifecycle.Builder events(Collection<Event> events)
Specifies the actions that are performed when the state is exited and the condition
is TRUE.
events - Specifies the actions that are performed when the state is exited and the
condition is TRUE.OnExitLifecycle.Builder events(Event... events)
Specifies the actions that are performed when the state is exited and the condition
is TRUE.
events - Specifies the actions that are performed when the state is exited and the
condition is TRUE.OnExitLifecycle.Builder events(Consumer<Event.Builder>... events)
Specifies the actions that are performed when the state is exited and the condition
is TRUE.
Event.Builder avoiding the need to create one
manually via Event.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #events(List.
events - a consumer that will call methods on
Event.Builder#events(java.util.Collection) Copyright © 2023. All rights reserved.