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(StatelessMessageContext context)
Set the context.
|
MessageStatelessOptions.Builder |
input(StatelessMessageInput 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(StatelessMessageInput input)
input
- the inputpublic MessageStatelessOptions.Builder context(StatelessMessageContext context)
context
- the contextpublic MessageStatelessOptions.Builder userId(String userId)
userId
- the userIdCopyright © 2024 IBM Cloud. All rights reserved.