public static class DialogNodeOutputGeneric.Builder
extends java.lang.Object
| Constructor and Description |
|---|
DialogNodeOutputGeneric.Builder()
Instantiates a new builder.
|
DialogNodeOutputGeneric.Builder(java.lang.String responseType)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
DialogNodeOutputGeneric.Builder |
addOptions(DialogNodeOutputOptionsElement options)
Adds an options to options.
|
DialogNodeOutputGeneric.Builder |
addValues(DialogNodeOutputTextValuesElement values)
Adds an values to values.
|
DialogNodeOutputGeneric |
build()
Builds a DialogNodeOutputGeneric.
|
DialogNodeOutputGeneric.Builder |
delimiter(java.lang.String delimiter)
Set the delimiter.
|
DialogNodeOutputGeneric.Builder |
description(java.lang.String description)
Set the description.
|
DialogNodeOutputGeneric.Builder |
discoveryVersion(java.lang.String discoveryVersion)
Set the discoveryVersion.
|
DialogNodeOutputGeneric.Builder |
filter(java.lang.String filter)
Set the filter.
|
DialogNodeOutputGeneric.Builder |
messageToHumanAgent(java.lang.String messageToHumanAgent)
Set the messageToHumanAgent.
|
DialogNodeOutputGeneric.Builder |
options(java.util.List<DialogNodeOutputOptionsElement> options)
Set the options.
|
DialogNodeOutputGeneric.Builder |
preference(java.lang.String preference)
Set the preference.
|
DialogNodeOutputGeneric.Builder |
query(java.lang.String query)
Set the query.
|
DialogNodeOutputGeneric.Builder |
queryType(java.lang.String queryType)
Set the queryType.
|
DialogNodeOutputGeneric.Builder |
responseType(java.lang.String responseType)
Set the responseType.
|
DialogNodeOutputGeneric.Builder |
selectionPolicy(java.lang.String selectionPolicy)
Set the selectionPolicy.
|
DialogNodeOutputGeneric.Builder |
source(java.lang.String source)
Set the source.
|
DialogNodeOutputGeneric.Builder |
time(long time)
Set the time.
|
DialogNodeOutputGeneric.Builder |
title(java.lang.String title)
Set the title.
|
DialogNodeOutputGeneric.Builder |
typing(java.lang.Boolean typing)
Set the typing.
|
DialogNodeOutputGeneric.Builder |
values(java.util.List<DialogNodeOutputTextValuesElement> values)
Set the values.
|
public DialogNodeOutputGeneric.Builder()
public DialogNodeOutputGeneric.Builder(java.lang.String responseType)
responseType - the responseTypepublic DialogNodeOutputGeneric build()
public DialogNodeOutputGeneric.Builder addValues(DialogNodeOutputTextValuesElement values)
values - the new valuespublic DialogNodeOutputGeneric.Builder addOptions(DialogNodeOutputOptionsElement options)
options - the new optionspublic DialogNodeOutputGeneric.Builder responseType(java.lang.String responseType)
responseType - the responseTypepublic DialogNodeOutputGeneric.Builder values(java.util.List<DialogNodeOutputTextValuesElement> values)
values - the valuespublic DialogNodeOutputGeneric.Builder selectionPolicy(java.lang.String selectionPolicy)
selectionPolicy - the selectionPolicypublic DialogNodeOutputGeneric.Builder delimiter(java.lang.String delimiter)
delimiter - the delimiterpublic DialogNodeOutputGeneric.Builder time(long time)
time - the timepublic DialogNodeOutputGeneric.Builder typing(java.lang.Boolean typing)
typing - the typingpublic DialogNodeOutputGeneric.Builder source(java.lang.String source)
source - the sourcepublic DialogNodeOutputGeneric.Builder title(java.lang.String title)
title - the titlepublic DialogNodeOutputGeneric.Builder description(java.lang.String description)
description - the descriptionpublic DialogNodeOutputGeneric.Builder preference(java.lang.String preference)
preference - the preferencepublic DialogNodeOutputGeneric.Builder options(java.util.List<DialogNodeOutputOptionsElement> options)
options - the optionspublic DialogNodeOutputGeneric.Builder messageToHumanAgent(java.lang.String messageToHumanAgent)
messageToHumanAgent - the messageToHumanAgentpublic DialogNodeOutputGeneric.Builder query(java.lang.String query)
query - the querypublic DialogNodeOutputGeneric.Builder queryType(java.lang.String queryType)
queryType - the queryTypepublic DialogNodeOutputGeneric.Builder filter(java.lang.String filter)
filter - the filterpublic DialogNodeOutputGeneric.Builder discoveryVersion(java.lang.String discoveryVersion)
discoveryVersion - the discoveryVersion