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 method that creates an instance of theAction.Builder avoiding the need to create one
manually via Action.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #actions(List.
actions - a consumer that will call methods on
Action.Builder#actions(java.util.Collection) TransitionEvent.Builder nextState(String nextState)
The next state to enter.
nextState - The next state to enter.Copyright © 2023. All rights reserved.