public static class RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeSuggestion) |
Builder(java.lang.String responseType,
java.lang.String title,
java.util.List<DialogSuggestion> suggestions)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
addSuggestions(DialogSuggestion suggestions)
Adds an suggestions to suggestions.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion |
build()
Builds a RuntimeResponseGenericRuntimeResponseTypeSuggestion.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
responseType(java.lang.String responseType)
Set the responseType.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
suggestions(java.util.List<DialogSuggestion> suggestions)
Set the suggestions.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
title(java.lang.String title)
Set the title.
|
public Builder(RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeSuggestion)
public Builder()
public Builder(java.lang.String responseType,
java.lang.String title,
java.util.List<DialogSuggestion> suggestions)
responseType - the responseTypetitle - the titlesuggestions - the suggestionspublic RuntimeResponseGenericRuntimeResponseTypeSuggestion build()
public RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder addSuggestions(DialogSuggestion suggestions)
suggestions - the new suggestionspublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder responseType(java.lang.String responseType)
responseType - the responseTypepublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder title(java.lang.String title)
title - the titlepublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder suggestions(java.util.List<DialogSuggestion> suggestions)
suggestions - the suggestions