public static class DialogSuggestion.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(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(String dialogNode)
Set the dialogNode.
|
DialogSuggestion.Builder |
label(String label)
Set the label.
|
DialogSuggestion.Builder |
output(Map<String,Object> output)
Set the output.
|
DialogSuggestion.Builder |
value(DialogSuggestionValue value)
Set the value.
|
public Builder()
public Builder(String label, DialogSuggestionValue value)
label
- the labelvalue
- the valuepublic DialogSuggestion build()
public DialogSuggestion.Builder label(String label)
label
- the labelpublic DialogSuggestion.Builder value(DialogSuggestionValue value)
value
- the valuepublic DialogSuggestion.Builder output(Map<String,Object> output)
output
- the outputpublic DialogSuggestion.Builder dialogNode(String dialogNode)
dialogNode
- the dialogNodeCopyright © 2021 IBM Cloud. All rights reserved.