public static class MessageInput.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
public MessageInput build()
public MessageInput.Builder addIntent(RuntimeIntent intent)
intent
- the new element to be addedpublic MessageInput.Builder addEntity(RuntimeEntity entity)
entity
- the new element to be addedpublic MessageInput.Builder addAttachments(MessageInputAttachment attachments)
attachments
- the new element to be addedpublic MessageInput.Builder messageType(String messageType)
messageType
- the messageTypepublic MessageInput.Builder text(String text)
text
- the textpublic MessageInput.Builder intents(List<RuntimeIntent> intents)
intents
- the intentspublic MessageInput.Builder entities(List<RuntimeEntity> entities)
entities
- the entitiespublic MessageInput.Builder suggestionId(String suggestionId)
suggestionId
- the suggestionIdpublic MessageInput.Builder attachments(List<MessageInputAttachment> attachments)
attachments
- the attachmentspublic MessageInput.Builder analytics(RequestAnalytics analytics)
analytics
- the analyticspublic MessageInput.Builder options(MessageInputOptions options)
options
- the optionsCopyright © 2024 IBM Cloud. All rights reserved.