public static class DialogSuggestion.Builder
extends java.lang.Object
Constructor and Description |
---|
DialogSuggestion.Builder()
Instantiates a new builder.
|
DialogSuggestion.Builder(java.lang.String label,
DialogSuggestionValue value)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DialogSuggestion |
build()
Builds a DialogSuggestion.
|
DialogSuggestion.Builder |
dialogNode(java.lang.String dialogNode)
Set the dialogNode.
|
DialogSuggestion.Builder |
label(java.lang.String label)
Set the label.
|
DialogSuggestion.Builder |
output(DialogSuggestionOutput output)
Set the output.
|
DialogSuggestion.Builder |
value(DialogSuggestionValue value)
Set the value.
|
public DialogSuggestion.Builder()
public DialogSuggestion.Builder(java.lang.String label, DialogSuggestionValue value)
label
- the labelvalue
- the valuepublic DialogSuggestion build()
public DialogSuggestion.Builder label(java.lang.String label)
label
- the labelpublic DialogSuggestion.Builder value(DialogSuggestionValue value)
value
- the valuepublic DialogSuggestion.Builder output(DialogSuggestionOutput output)
output
- the outputpublic DialogSuggestion.Builder dialogNode(java.lang.String dialogNode)
dialogNode
- the dialogNode