public static class MessageRequest.Builder
extends java.lang.Object
Constructor and Description |
---|
MessageRequest.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.
|
public MessageRequest.Builder()
public MessageRequest build()
public MessageRequest.Builder input(MessageInput input)
input
- the inputpublic MessageRequest.Builder context(MessageContext context)
context
- the context