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 a new element to entities.
|
DialogSuggestionValue.Builder |
addIntents(RuntimeIntent intents)
Adds a new element 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 element to be addedpublic DialogSuggestionValue.Builder addEntities(RuntimeEntity entities)
entities
- the new element to be addedpublic 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 © 2024 IBM Cloud. All rights reserved.