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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnEnterLifecycle.Builderevents(Collection<Event> events)Specifies the actions that are performed when the state is entered and theconditionisTRUE.OnEnterLifecycle.Builderevents(Consumer<Event.Builder>... events)Specifies the actions that are performed when the state is entered and theconditionisTRUE.OnEnterLifecycle.Builderevents(Event... events)Specifies the actions that are performed when the state is entered and theconditionisTRUE.-
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
-
events
OnEnterLifecycle.Builder events(Collection<Event> 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
OnEnterLifecycle.Builder events(Event... 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
OnEnterLifecycle.Builder events(Consumer<Event.Builder>... 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 to#events(List.) - 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:
#events(java.util.Collection)
-
-