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