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