@Stability(value=Experimental) public static final class StateProps.Builder extends Object implements software.amazon.jsii.Builder<StateProps>
StateProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StateProps |
build()
Builds the configured instance.
|
StateProps.Builder |
onEnter(List<? extends Event> onEnter)
Sets the value of
StateProps.getOnEnter() |
StateProps.Builder |
onExit(List<? extends Event> onExit)
Sets the value of
StateProps.getOnExit() |
StateProps.Builder |
onInput(List<? extends Event> onInput)
Sets the value of
StateProps.getOnInput() |
StateProps.Builder |
stateName(String stateName)
Sets the value of
StateProps.getStateName() |
@Stability(value=Experimental) public StateProps.Builder stateName(String stateName)
StateProps.getStateName()stateName - The name of the state. This parameter is required.this@Stability(value=Experimental) public StateProps.Builder onEnter(List<? extends Event> onEnter)
StateProps.getOnEnter()onEnter - Specifies the events on enter.
The conditions of the events will be evaluated when entering this state.
If the condition of the event evaluates to true, the actions of the event will be executed.this@Stability(value=Experimental) public StateProps.Builder onExit(List<? extends Event> onExit)
StateProps.getOnExit()onExit - Specifies the events on exit.
The conditions of the events are evaluated when an exiting this state.
If the condition evaluates to true, the actions of the event will be executed.this@Stability(value=Experimental) public StateProps.Builder onInput(List<? extends Event> onInput)
StateProps.getOnInput()onInput - Specifies the events on input.
The conditions of the events will be evaluated when any input is received.
If the condition of the event evaluates to true, the actions of the event will be executed.this@Stability(value=Experimental) public StateProps build()
build in interface software.amazon.jsii.Builder<StateProps>StatePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.