Interface ChangeMessageVisibilityBatchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ChangeMessageVisibilityBatchRequest.Builder,
,ChangeMessageVisibilityBatchRequest> SdkBuilder<ChangeMessageVisibilityBatchRequest.Builder,
,ChangeMessageVisibilityBatchRequest> SdkPojo
,SdkRequest.Builder
,SqsRequest.Builder
- Enclosing class:
ChangeMessageVisibilityBatchRequest
public static interface ChangeMessageVisibilityBatchRequest.Builder
extends SqsRequest.Builder, SdkPojo, CopyableBuilder<ChangeMessageVisibilityBatchRequest.Builder,ChangeMessageVisibilityBatchRequest>
-
Method Summary
Modifier and TypeMethodDescriptionLists the receipt handles of the messages for which the visibility timeout must be changed.Lists the receipt handles of the messages for which the visibility timeout must be changed.entries
(ChangeMessageVisibilityBatchRequestEntry... entries) Lists the receipt handles of the messages for which the visibility timeout must be changed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The URL of the Amazon SQS queue whose messages' visibility is changed.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 Details
-
queueUrl
The URL of the Amazon SQS queue whose messages' visibility is changed.
Queue URLs and names are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue whose messages' visibility is changed.Queue URLs and names are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ChangeMessageVisibilityBatchRequest.Builder entries(Collection<ChangeMessageVisibilityBatchRequestEntry> entries) Lists the receipt handles of the messages for which the visibility timeout must be changed.
- Parameters:
entries
- Lists the receipt handles of the messages for which the visibility timeout must be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ChangeMessageVisibilityBatchRequest.Builder entries(ChangeMessageVisibilityBatchRequestEntry... entries) Lists the receipt handles of the messages for which the visibility timeout must be changed.
- Parameters:
entries
- Lists the receipt handles of the messages for which the visibility timeout must be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ChangeMessageVisibilityBatchRequest.Builder entries(Consumer<ChangeMessageVisibilityBatchRequestEntry.Builder>... entries) Lists the receipt handles of the messages for which the visibility timeout must be changed.
This is a convenience method that creates an instance of theChangeMessageVisibilityBatchRequestEntry.Builder
avoiding the need to create one manually viaChangeMessageVisibilityBatchRequestEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<ChangeMessageVisibilityBatchRequestEntry>)
.- Parameters:
entries
- a consumer that will call methods onChangeMessageVisibilityBatchRequestEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ChangeMessageVisibilityBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ChangeMessageVisibilityBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-