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