public static class MessageOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId)
Instantiates a new builder with required properties.
|
public Builder()
public Builder(String workspaceId)
workspaceId
- the workspaceIdpublic MessageOptions build()
public MessageOptions.Builder addIntent(RuntimeIntent intent)
intent
- the new intentpublic MessageOptions.Builder addEntity(RuntimeEntity entity)
entity
- the new entitypublic MessageOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic MessageOptions.Builder input(MessageInput input)
input
- the inputpublic MessageOptions.Builder intents(List<RuntimeIntent> intents)
intents
- the intentspublic MessageOptions.Builder entities(List<RuntimeEntity> entities)
entities
- the entitiespublic MessageOptions.Builder alternateIntents(Boolean alternateIntents)
alternateIntents
- the alternateIntentspublic MessageOptions.Builder context(Context context)
context
- the contextpublic MessageOptions.Builder output(OutputData output)
output
- the outputpublic MessageOptions.Builder userId(String userId)
userId
- the userIdpublic MessageOptions.Builder nodesVisitedDetails(Boolean nodesVisitedDetails)
nodesVisitedDetails
- the nodesVisitedDetailspublic MessageOptions.Builder messageRequest(MessageRequest messageRequest)
messageRequest
- the messageRequestCopyright © 2021 IBM Cloud. All rights reserved.