Interface ChangeMessageVisibilityBatchRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ChangeMessageVisibilityBatchRequest.Builder,ChangeMessageVisibilityBatchRequest>,SdkBuilder<ChangeMessageVisibilityBatchRequest.Builder,ChangeMessageVisibilityBatchRequest>,SdkPojo,SdkRequest.Builder,SqsRequest.Builder
- Enclosing class:
- ChangeMessageVisibilityBatchRequest
@Mutable @NotThreadSafe public static interface ChangeMessageVisibilityBatchRequest.Builder extends SqsRequest.Builder, SdkPojo, CopyableBuilder<ChangeMessageVisibilityBatchRequest.Builder,ChangeMessageVisibilityBatchRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sqs.model.SqsRequest.Builder
build
-
-
-
-
Method Detail
-
queueUrl
ChangeMessageVisibilityBatchRequest.Builder queueUrl(String 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 to#entries(List.) - 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:
#entries(java.util.Collection)
-
overrideConfiguration
ChangeMessageVisibilityBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ChangeMessageVisibilityBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-