public static class Choice.ChoiceBuilder
extends Object
| Constructor and Description |
|---|
ChoiceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Choice |
build()
Constructs the choice
|
Choice.ChoiceBuilder |
name(String name)
The text displayed to the user for this choice
|
Choice.ChoiceBuilder |
value(String value)
Sets the value to the provided
String |
public Choice.ChoiceBuilder name(String name)
public Choice.ChoiceBuilder value(String value)
Stringpublic Choice build()
Copyright © 2018-present Appian Corporation. All Rights Reserved.