public static class RuntimeResponseGenericRuntimeResponseTypeOption.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeOption) |
Builder(java.lang.String responseType,
java.lang.String title,
java.util.List<DialogNodeOutputOptionsElement> options)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
RuntimeResponseGenericRuntimeResponseTypeOption.Builder |
addOptions(DialogNodeOutputOptionsElement options)
Adds an options to options.
|
RuntimeResponseGenericRuntimeResponseTypeOption |
build()
Builds a RuntimeResponseGenericRuntimeResponseTypeOption.
|
RuntimeResponseGenericRuntimeResponseTypeOption.Builder |
description(java.lang.String description)
Set the description.
|
RuntimeResponseGenericRuntimeResponseTypeOption.Builder |
options(java.util.List<DialogNodeOutputOptionsElement> options)
Set the options.
|
RuntimeResponseGenericRuntimeResponseTypeOption.Builder |
preference(java.lang.String preference)
Set the preference.
|
RuntimeResponseGenericRuntimeResponseTypeOption.Builder |
responseType(java.lang.String responseType)
Set the responseType.
|
RuntimeResponseGenericRuntimeResponseTypeOption.Builder |
title(java.lang.String title)
Set the title.
|
public Builder(RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeOption)
public Builder()
public Builder(java.lang.String responseType, java.lang.String title, java.util.List<DialogNodeOutputOptionsElement> options)
responseType
- the responseTypetitle
- the titleoptions
- the optionspublic RuntimeResponseGenericRuntimeResponseTypeOption build()
public RuntimeResponseGenericRuntimeResponseTypeOption.Builder addOptions(DialogNodeOutputOptionsElement options)
options
- the new optionspublic RuntimeResponseGenericRuntimeResponseTypeOption.Builder responseType(java.lang.String responseType)
responseType
- the responseTypepublic RuntimeResponseGenericRuntimeResponseTypeOption.Builder title(java.lang.String title)
title
- the titlepublic RuntimeResponseGenericRuntimeResponseTypeOption.Builder description(java.lang.String description)
description
- the descriptionpublic RuntimeResponseGenericRuntimeResponseTypeOption.Builder preference(java.lang.String preference)
preference
- the preferencepublic RuntimeResponseGenericRuntimeResponseTypeOption.Builder options(java.util.List<DialogNodeOutputOptionsElement> options)
options
- the options