public static interface SendMessageBatchRequest.Builder extends SqsRequest.Builder, SdkPojo, CopyableBuilder<SendMessageBatchRequest.Builder,SendMessageBatchRequest>
Modifier and Type | Method and Description |
---|---|
SendMessageBatchRequest.Builder |
entries(Collection<SendMessageBatchRequestEntry> entries)
A list of
SendMessageBatchRequestEntry items. |
SendMessageBatchRequest.Builder |
entries(Consumer<SendMessageBatchRequestEntry.Builder>... entries)
A list of
SendMessageBatchRequestEntry items. |
SendMessageBatchRequest.Builder |
entries(SendMessageBatchRequestEntry... entries)
A list of
SendMessageBatchRequestEntry items. |
SendMessageBatchRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SendMessageBatchRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SendMessageBatchRequest.Builder |
queueUrl(String queueUrl)
The URL of the Amazon SQS queue to which batched messages are sent.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
SendMessageBatchRequest.Builder queueUrl(String queueUrl)
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
SendMessageBatchRequest.Builder entries(Collection<SendMessageBatchRequestEntry> entries)
A list of SendMessageBatchRequestEntry
items.
entries
- A list of SendMessageBatchRequestEntry
items.SendMessageBatchRequest.Builder entries(SendMessageBatchRequestEntry... entries)
A list of SendMessageBatchRequestEntry
items.
entries
- A list of SendMessageBatchRequestEntry
items.SendMessageBatchRequest.Builder entries(Consumer<SendMessageBatchRequestEntry.Builder>... entries)
A list of SendMessageBatchRequestEntry
items.
List.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 #entries(List)
.entries
- a consumer that will call methods on List.Builder
#entries(List)
SendMessageBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
SendMessageBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.