Interface DeleteMessageBatchRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteMessageBatchRequest.Builder,DeleteMessageBatchRequest>
,SdkBuilder<DeleteMessageBatchRequest.Builder,DeleteMessageBatchRequest>
,SdkPojo
,SdkRequest.Builder
,SqsRequest.Builder
- Enclosing class:
- DeleteMessageBatchRequest
public static interface DeleteMessageBatchRequest.Builder extends SqsRequest.Builder, SdkPojo, CopyableBuilder<DeleteMessageBatchRequest.Builder,DeleteMessageBatchRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DeleteMessageBatchRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DeleteMessageBatchRequest.Builder
queueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sqs.model.SqsRequest.Builder
build
-
-
-
-
Method Detail
-
queueUrl
DeleteMessageBatchRequest.Builder queueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.Queue URLs and names are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
DeleteMessageBatchRequest.Builder entries(Collection<DeleteMessageBatchRequestEntry> entries)
Lists the receipt handles for the messages to be deleted.
- Parameters:
entries
- Lists the receipt handles for the messages to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
DeleteMessageBatchRequest.Builder entries(DeleteMessageBatchRequestEntry... entries)
Lists the receipt handles for the messages to be deleted.
- Parameters:
entries
- Lists the receipt handles for the messages to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
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 viaDeleteMessageBatchRequestEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#entries(List
.) - Parameters:
entries
- a consumer that will call methods onDeleteMessageBatchRequestEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection
)
-
overrideConfiguration
DeleteMessageBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteMessageBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-