Buildable.Utils
Modifier and Type | Method and Description |
---|---|
Choice |
build() |
Choice.Builder |
condition(Condition.Builder conditionBuilder)
REQUIRED.
|
Choice.Builder |
transition(NextStateTransition.Builder transition)
REQUIRED.
|
public Choice.Builder condition(Condition.Builder conditionBuilder)
conditionBuilder
- Instance of Choice.Builder
. Note that the State
object is not built until the
Choice
is built so any modifications on the state builder will be reflected in this object.public Choice.Builder transition(NextStateTransition.Builder transition)
transition
- Transition that occurs if the choice rule condition evaluates to true.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.