Interface TransitionEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitionEvent.Builder,TransitionEvent>,SdkBuilder<TransitionEvent.Builder,TransitionEvent>,SdkPojo
- Enclosing class:
- TransitionEvent
public static interface TransitionEvent.Builder extends SdkPojo, CopyableBuilder<TransitionEvent.Builder,TransitionEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransitionEvent.Builderactions(Collection<Action> actions)The actions to be performed.TransitionEvent.Builderactions(Consumer<Action.Builder>... actions)The actions to be performed.TransitionEvent.Builderactions(Action... actions)The actions to be performed.TransitionEvent.Buildercondition(String condition)Required.TransitionEvent.BuildereventName(String eventName)The name of the transition event.TransitionEvent.BuildernextState(String nextState)The next state to enter.-
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
-
eventName
TransitionEvent.Builder eventName(String eventName)
The name of the transition event.
- Parameters:
eventName- The name of the transition event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
TransitionEvent.Builder condition(String condition)
Required. A Boolean expression that when TRUE causes the actions to be performed and the
nextStateto be entered.- Parameters:
condition- Required. A Boolean expression that when TRUE causes the actions to be performed and thenextStateto be entered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
TransitionEvent.Builder actions(Collection<Action> actions)
The actions to be performed.
- Parameters:
actions- The actions to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
TransitionEvent.Builder actions(Action... actions)
The actions to be performed.
- Parameters:
actions- The actions to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
TransitionEvent.Builder actions(Consumer<Action.Builder>... actions)
The actions to be performed.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
nextState
TransitionEvent.Builder nextState(String nextState)
The next state to enter.
- Parameters:
nextState- The next state to enter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-