Interface OnExitLifecycle.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<OnExitLifecycle.Builder,,- OnExitLifecycle> - SdkBuilder<OnExitLifecycle.Builder,,- OnExitLifecycle> - SdkPojo
- Enclosing class:
- OnExitLifecycle
@Mutable
@NotThreadSafe
public static interface OnExitLifecycle.Builder
extends SdkPojo, CopyableBuilder<OnExitLifecycle.Builder,OnExitLifecycle> 
- 
Method SummaryModifier and TypeMethodDescriptionevents(Collection<Event> events) Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.events(Consumer<Event.Builder>... events) Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.Specifies theactionsthat are performed when the state is exited and theconditionisTRUE.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
eventsSpecifies the actionsthat are performed when the state is exited and theconditionisTRUE.- Parameters:
- events- Specifies the- actionsthat are performed when the state is exited and the- conditionis- TRUE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventsSpecifies the actionsthat are performed when the state is exited and theconditionisTRUE.- Parameters:
- events- Specifies the- actionsthat are performed when the state is exited and the- conditionis- TRUE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventsSpecifies 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 toevents(List<Event>).- Parameters:
- events- a consumer that will call methods on- Event.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-