public static class MessageInputStateless.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new 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 addAttachments(MessageInputAttachment attachments)
attachments
- the new attachmentspublic MessageInputStateless.Builder messageType(String messageType)
messageType
- the messageTypepublic MessageInputStateless.Builder text(String text)
text
- the textpublic MessageInputStateless.Builder intents(List<RuntimeIntent> intents)
intents
- the intentspublic MessageInputStateless.Builder entities(List<RuntimeEntity> entities)
entities
- the entitiespublic MessageInputStateless.Builder suggestionId(String suggestionId)
suggestionId
- the suggestionIdpublic MessageInputStateless.Builder attachments(List<MessageInputAttachment> attachments)
attachments
- the attachmentspublic MessageInputStateless.Builder options(MessageInputOptionsStateless options)
options
- the optionsCopyright © 2022 IBM Cloud. All rights reserved.