public static interface TransitionEvent.Builder extends SdkPojo, CopyableBuilder<TransitionEvent.Builder,TransitionEvent>
| Modifier and Type | Method and Description |
|---|---|
TransitionEvent.Builder |
actions(Action... actions)
The actions to be performed.
|
TransitionEvent.Builder |
actions(Collection<Action> actions)
The actions to be performed.
|
TransitionEvent.Builder |
actions(Consumer<Action.Builder>... actions)
The actions to be performed.
|
TransitionEvent.Builder |
condition(String condition)
Required.
|
TransitionEvent.Builder |
eventName(String eventName)
The name of the transition event.
|
TransitionEvent.Builder |
nextState(String nextState)
The next state to enter.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTransitionEvent.Builder eventName(String eventName)
The name of the transition event.
eventName - The name of the transition event.TransitionEvent.Builder condition(String condition)
Required. A Boolean expression that when TRUE causes the actions to be performed and the
nextState to be entered.
condition - Required. A Boolean expression that when TRUE causes the actions to be performed and the
nextState to be entered.TransitionEvent.Builder actions(Collection<Action> actions)
The actions to be performed.
actions - The actions to be performed.TransitionEvent.Builder actions(Action... actions)
The actions to be performed.
actions - The actions to be performed.TransitionEvent.Builder actions(Consumer<Action.Builder>... actions)
The actions to be performed.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #actions(List) .actions - a consumer that will call methods on List.Builder #actions(List) TransitionEvent.Builder nextState(String nextState)
The next state to enter.
nextState - The next state to enter.Copyright © 2022. All rights reserved.