public static class MessageRequest.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
MessageRequest |
build()
Builds a MessageRequest.
|
MessageRequest.Builder |
context(MessageContext context)
Set the context.
|
MessageRequest.Builder |
input(MessageInput input)
Set the input.
|
MessageRequest.Builder |
userId(String userId)
Set the userId.
|
public MessageRequest build()
public MessageRequest.Builder input(MessageInput input)
input
- the inputpublic MessageRequest.Builder context(MessageContext context)
context
- the contextpublic MessageRequest.Builder userId(String userId)
userId
- the userIdCopyright © 2023 IBM Cloud. All rights reserved.