Package akka.javasdk.decision
Class ChoiceBuilder.OneOption
Object
akka.javasdk.decision.ChoiceBuilder.OneOption
- Enclosing class:
ChoiceBuilder
A choice question with one option. Add the second option.
-
Method Summary
Modifier and TypeMethodDescriptionAdd the second option.
-
Method Details
-
option
Add the second option.- Parameters:
key- the key returned inAnswer.Choice.selected()when the model picks this optiondescription- what the option covers
-