public static class RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeSuggestion) |
Builder(String responseType,
String title,
List<DialogSuggestion> suggestions)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
addChannels(ResponseGenericChannel channels)
Adds an channels to channels.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
addSuggestions(DialogSuggestion suggestions)
Adds an suggestions to suggestions.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion |
build()
Builds a RuntimeResponseGenericRuntimeResponseTypeSuggestion.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
channels(List<ResponseGenericChannel> channels)
Set the channels.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
responseType(String responseType)
Set the responseType.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
suggestions(List<DialogSuggestion> suggestions)
Set the suggestions.
|
RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder |
title(String title)
Set the title.
|
public Builder(RuntimeResponseGeneric runtimeResponseGenericRuntimeResponseTypeSuggestion)
public Builder()
public Builder(String responseType, String title, List<DialogSuggestion> suggestions)
responseType
- the responseTypetitle
- the titlesuggestions
- the suggestionspublic RuntimeResponseGenericRuntimeResponseTypeSuggestion build()
public RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder addSuggestions(DialogSuggestion suggestions)
suggestions
- the new suggestionspublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder addChannels(ResponseGenericChannel channels)
channels
- the new channelspublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder responseType(String responseType)
responseType
- the responseTypepublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder title(String title)
title
- the titlepublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder suggestions(List<DialogSuggestion> suggestions)
suggestions
- the suggestionspublic RuntimeResponseGenericRuntimeResponseTypeSuggestion.Builder channels(List<ResponseGenericChannel> channels)
channels
- the channelsCopyright © 2022 IBM Cloud. All rights reserved.