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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnExitLifecycle.Builderevents(Collection<Event> events)Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.OnExitLifecycle.Builderevents(Consumer<Event.Builder>... events)Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.OnExitLifecycle.Builderevents(Event... events)Specifies theactionsthat are performed when the state is exited 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
OnExitLifecycle.Builder events(Collection<Event> events)
Specifies the
actionsthat are performed when the state is exited and theconditionisTRUE.- Parameters:
events- Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
OnExitLifecycle.Builder events(Event... events)
Specifies the
actionsthat are performed when the state is exited and theconditionisTRUE.- Parameters:
events- Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
OnExitLifecycle.Builder events(Consumer<Event.Builder>... events)
Specifies the
This is a convenience method that creates an instance of theactionsthat are performed when the state is exited and 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)
-
-