public static class DialogSuggestionValue.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DialogSuggestionValue.Builder |
addEntities(RuntimeEntity entities)
Adds an entities to entities.
|
DialogSuggestionValue.Builder |
addIntents(RuntimeIntent intents)
Adds an intents to intents.
|
DialogSuggestionValue |
build()
Builds a DialogSuggestionValue.
|
DialogSuggestionValue.Builder |
entities(List<RuntimeEntity> entities)
Set the entities.
|
DialogSuggestionValue.Builder |
input(MessageInput input)
Set the input.
|
DialogSuggestionValue.Builder |
intents(List<RuntimeIntent> intents)
Set the intents.
|
public DialogSuggestionValue build()
public DialogSuggestionValue.Builder addIntents(RuntimeIntent intents)
intents
- the new intentspublic DialogSuggestionValue.Builder addEntities(RuntimeEntity entities)
entities
- the new entitiespublic DialogSuggestionValue.Builder input(MessageInput input)
input
- the inputpublic DialogSuggestionValue.Builder intents(List<RuntimeIntent> intents)
intents
- the intentspublic DialogSuggestionValue.Builder entities(List<RuntimeEntity> entities)
entities
- the entitiesCopyright © 2022 IBM Cloud. All rights reserved.