Interface TransitionEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitionEvent.Builder,
,TransitionEvent> SdkBuilder<TransitionEvent.Builder,
,TransitionEvent> SdkPojo
- Enclosing class:
TransitionEvent
@Mutable
@NotThreadSafe
public static interface TransitionEvent.Builder
extends SdkPojo, CopyableBuilder<TransitionEvent.Builder,TransitionEvent>
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<Action> actions) The actions to be performed.actions
(Consumer<Action.Builder>... actions) The actions to be performed.The actions to be performed.Required.The name of the transition event.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
Required. A Boolean expression that when TRUE causes the actions to be performed and the
nextState
to be entered.- Parameters:
condition
- Required. A Boolean expression that when TRUE causes the actions to be performed and thenextState
to be entered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The actions to be performed.
This is a convenience method that creates an instance of theAction.Builder
avoiding the need to create one manually viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<Action>)
.- 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:
-
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.
-