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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaChangeMessageVisibilityBatchRequestEntry.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-