Interface OnEnterLifecycle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OnEnterLifecycle.Builder,
,OnEnterLifecycle> SdkBuilder<OnEnterLifecycle.Builder,
,OnEnterLifecycle> SdkPojo
- Enclosing class:
OnEnterLifecycle
public static interface OnEnterLifecycle.Builder
extends SdkPojo, CopyableBuilder<OnEnterLifecycle.Builder,OnEnterLifecycle>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<Event> events) Specifies the actions that are performed when the state is entered and thecondition
isTRUE
.events
(Consumer<Event.Builder>... events) Specifies the actions that are performed when the state is entered and thecondition
isTRUE
.Specifies the actions that are performed when the state is entered 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 entered and the
condition
isTRUE
.- Parameters:
events
- Specifies the actions that are performed when the state is entered 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 entered and the
condition
isTRUE
.- Parameters:
events
- Specifies the actions that are performed when the state is entered 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 entered and the
This is a convenience method that creates an instance of 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:
-