public static interface DeleteMessageBatchRequest.Builder extends SqsRequest.Builder, SdkPojo, CopyableBuilder<DeleteMessageBatchRequest.Builder,DeleteMessageBatchRequest>
Modifier and Type | Method and Description |
---|---|
DeleteMessageBatchRequest.Builder |
entries(Collection<DeleteMessageBatchRequestEntry> entries)
Lists the receipt handles for the messages to be deleted.
|
DeleteMessageBatchRequest.Builder |
entries(Consumer<DeleteMessageBatchRequestEntry.Builder>... entries)
Lists the receipt handles for the messages to be deleted.
|
DeleteMessageBatchRequest.Builder |
entries(DeleteMessageBatchRequestEntry... entries)
Lists the receipt handles for the messages to be deleted.
|
DeleteMessageBatchRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeleteMessageBatchRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DeleteMessageBatchRequest.Builder |
queueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DeleteMessageBatchRequest.Builder queueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
DeleteMessageBatchRequest.Builder entries(Collection<DeleteMessageBatchRequestEntry> entries)
Lists the receipt handles for the messages to be deleted.
entries
- Lists the receipt handles for the messages to be deleted.DeleteMessageBatchRequest.Builder entries(DeleteMessageBatchRequestEntry... entries)
Lists the receipt handles for the messages to be deleted.
entries
- Lists the receipt handles for the messages to be deleted.DeleteMessageBatchRequest.Builder entries(Consumer<DeleteMessageBatchRequestEntry.Builder>... entries)
Lists the receipt handles for the messages to be deleted.
This is a convenience method that creates an instance of theDeleteMessageBatchRequestEntry.Builder
avoiding the need to
create one manually via
DeleteMessageBatchRequestEntry.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #entries(List
.
entries
- a consumer that will call methods on
DeleteMessageBatchRequestEntry.Builder
#entries(java.util.Collection)
DeleteMessageBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DeleteMessageBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.