public static class MessageStatelessOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String assistantId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
MessageStatelessOptions.Builder |
assistantId(String assistantId)
Set the assistantId.
|
MessageStatelessOptions |
build()
Builds a MessageStatelessOptions.
|
MessageStatelessOptions.Builder |
context(MessageContextStateless context)
Set the context.
|
MessageStatelessOptions.Builder |
input(MessageInputStateless input)
Set the input.
|
MessageStatelessOptions.Builder |
userId(String userId)
Set the userId.
|
public Builder()
public Builder(String assistantId)
assistantId
- the assistantIdpublic MessageStatelessOptions build()
public MessageStatelessOptions.Builder assistantId(String assistantId)
assistantId
- the assistantIdpublic MessageStatelessOptions.Builder input(MessageInputStateless input)
input
- the inputpublic MessageStatelessOptions.Builder context(MessageContextStateless context)
context
- the contextpublic MessageStatelessOptions.Builder userId(String userId)
userId
- the userIdCopyright © 2021 IBM Cloud. All rights reserved.