public static class MessageInputStateless.Builder
extends java.lang.Object
Constructor and Description |
---|
MessageInputStateless.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
MessageInputStateless.Builder |
addEntity(RuntimeEntity entity)
Adds an entity to entities.
|
MessageInputStateless.Builder |
addIntent(RuntimeIntent intent)
Adds an intent to intents.
|
MessageInputStateless |
build()
Builds a MessageInputStateless.
|
MessageInputStateless.Builder |
entities(java.util.List<RuntimeEntity> entities)
Set the entities.
|
MessageInputStateless.Builder |
intents(java.util.List<RuntimeIntent> intents)
Set the intents.
|
MessageInputStateless.Builder |
messageType(java.lang.String messageType)
Set the messageType.
|
MessageInputStateless.Builder |
options(MessageInputOptionsStateless options)
Set the options.
|
MessageInputStateless.Builder |
suggestionId(java.lang.String suggestionId)
Set the suggestionId.
|
MessageInputStateless.Builder |
text(java.lang.String text)
Set the text.
|
public MessageInputStateless.Builder()
public MessageInputStateless build()
public MessageInputStateless.Builder addIntent(RuntimeIntent intent)
intent
- the new intentpublic MessageInputStateless.Builder addEntity(RuntimeEntity entity)
entity
- the new entitypublic MessageInputStateless.Builder messageType(java.lang.String messageType)
messageType
- the messageTypepublic MessageInputStateless.Builder text(java.lang.String text)
text
- the textpublic MessageInputStateless.Builder intents(java.util.List<RuntimeIntent> intents)
intents
- the intentspublic MessageInputStateless.Builder entities(java.util.List<RuntimeEntity> entities)
entities
- the entitiespublic MessageInputStateless.Builder suggestionId(java.lang.String suggestionId)
suggestionId
- the suggestionIdpublic MessageInputStateless.Builder options(MessageInputOptionsStateless options)
options
- the options