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 theconditionisTRUE.events(Consumer<Event.Builder>... events) Specifies the actions that are performed when the state is entered and theconditionisTRUE.Specifies the actions that are performed when the state is entered and theconditionisTRUE.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
conditionisTRUE.- Parameters:
events- Specifies the actions that are performed when the state is entered and theconditionisTRUE.- 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
conditionisTRUE.- Parameters:
events- Specifies the actions that are performed when the state is entered and theconditionisTRUE.- 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 theconditionisTRUE.Event.Builderavoiding the need to create one manually viaEvent.builder().When the
Consumercompletes,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:
-