Interface OnInputLifecycle.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OnInputLifecycle.Builder,OnInputLifecycle>,SdkBuilder<OnInputLifecycle.Builder,OnInputLifecycle>,SdkPojo
- Enclosing class:
- OnInputLifecycle
public static interface OnInputLifecycle.Builder extends SdkPojo, CopyableBuilder<OnInputLifecycle.Builder,OnInputLifecycle>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnInputLifecycle.Builderevents(Collection<Event> events)Specifies the actions performed when theconditionevaluates to TRUE.OnInputLifecycle.Builderevents(Consumer<Event.Builder>... events)Specifies the actions performed when theconditionevaluates to TRUE.OnInputLifecycle.Builderevents(Event... events)Specifies the actions performed when theconditionevaluates to TRUE.OnInputLifecycle.BuildertransitionEvents(Collection<TransitionEvent> transitionEvents)Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.OnInputLifecycle.BuildertransitionEvents(Consumer<TransitionEvent.Builder>... transitionEvents)Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.OnInputLifecycle.BuildertransitionEvents(TransitionEvent... transitionEvents)Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.-
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
OnInputLifecycle.Builder events(Collection<Event> events)
Specifies the actions performed when the
conditionevaluates to TRUE.- Parameters:
events- Specifies the actions performed when theconditionevaluates to TRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
OnInputLifecycle.Builder events(Event... events)
Specifies the actions performed when the
conditionevaluates to TRUE.- Parameters:
events- Specifies the actions performed when theconditionevaluates to TRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
OnInputLifecycle.Builder events(Consumer<Event.Builder>... events)
Specifies the actions performed when the
This is a convenience method that creates an instance of theconditionevaluates to TRUE.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)
-
transitionEvents
OnInputLifecycle.Builder transitionEvents(Collection<TransitionEvent> transitionEvents)
Specifies the actions performed, and the next state entered, when a
conditionevaluates to TRUE.- Parameters:
transitionEvents- Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitionEvents
OnInputLifecycle.Builder transitionEvents(TransitionEvent... transitionEvents)
Specifies the actions performed, and the next state entered, when a
conditionevaluates to TRUE.- Parameters:
transitionEvents- Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitionEvents
OnInputLifecycle.Builder transitionEvents(Consumer<TransitionEvent.Builder>... transitionEvents)
Specifies the actions performed, and the next state entered, when a
This is a convenience method that creates an instance of theconditionevaluates to TRUE.TransitionEvent.Builderavoiding the need to create one manually viaTransitionEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#transitionEvents(List.) - Parameters:
transitionEvents- a consumer that will call methods onTransitionEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#transitionEvents(java.util.Collection)
-
-