public static interface BatchPutMessageRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<BatchPutMessageRequest.Builder,BatchPutMessageRequest>
| Modifier and Type | Method and Description |
|---|---|
BatchPutMessageRequest.Builder |
channelName(String channelName)
The name of the channel where the messages are sent.
|
BatchPutMessageRequest.Builder |
messages(Collection<Message> messages)
The list of messages to be sent.
|
BatchPutMessageRequest.Builder |
messages(Consumer<Message.Builder>... messages)
The list of messages to be sent.
|
BatchPutMessageRequest.Builder |
messages(Message... messages)
The list of messages to be sent.
|
BatchPutMessageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
BatchPutMessageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, buildBatchPutMessageRequest.Builder channelName(String channelName)
The name of the channel where the messages are sent.
channelName - The name of the channel where the messages are sent.BatchPutMessageRequest.Builder messages(Collection<Message> messages)
The list of messages to be sent. Each message has format: '{ "messageId": "string", "payload": "string"}'.
messages - The list of messages to be sent. Each message has format: '{ "messageId": "string", "payload":
"string"}'.BatchPutMessageRequest.Builder messages(Message... messages)
The list of messages to be sent. Each message has format: '{ "messageId": "string", "payload": "string"}'.
messages - The list of messages to be sent. Each message has format: '{ "messageId": "string", "payload":
"string"}'.BatchPutMessageRequest.Builder messages(Consumer<Message.Builder>... messages)
The list of messages to be sent. Each message has format: '{ "messageId": "string", "payload": "string"}'.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #messages(List) .messages - a consumer that will call methods on List.Builder #messages(List) BatchPutMessageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.BatchPutMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.