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)
A list of receipt handles for the messages to be deleted.
|
DeleteMessageBatchRequest.Builder |
entries(Consumer<DeleteMessageBatchRequestEntry.Builder>... entries)
A list of receipt handles for the messages to be deleted.
|
DeleteMessageBatchRequest.Builder |
entries(DeleteMessageBatchRequestEntry... entries)
A list of 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)
A list of receipt handles for the messages to be deleted.
entries
- A list of receipt handles for the messages to be deleted.DeleteMessageBatchRequest.Builder entries(DeleteMessageBatchRequestEntry... entries)
A list of receipt handles for the messages to be deleted.
entries
- A list of receipt handles for the messages to be deleted.DeleteMessageBatchRequest.Builder entries(Consumer<DeleteMessageBatchRequestEntry.Builder>... entries)
A list of receipt handles for the messages to be deleted.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #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)
DeleteMessageBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DeleteMessageBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.