Interface ChangeMessageVisibilityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ChangeMessageVisibilityRequest.Builder,
,ChangeMessageVisibilityRequest> SdkBuilder<ChangeMessageVisibilityRequest.Builder,
,ChangeMessageVisibilityRequest> SdkPojo
,SdkRequest.Builder
,SqsRequest.Builder
- Enclosing class:
ChangeMessageVisibilityRequest
public static interface ChangeMessageVisibilityRequest.Builder
extends SqsRequest.Builder, SdkPojo, CopyableBuilder<ChangeMessageVisibilityRequest.Builder,ChangeMessageVisibilityRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(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 message's visibility is changed.receiptHandle
(String receiptHandle) The receipt handle associated with the message, whose visibility timeout is changed.visibilityTimeout
(Integer visibilityTimeout) The new value for the message's visibility timeout (in seconds).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 message's visibility is changed.
Queue URLs and names are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue whose message's 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.
-
receiptHandle
The receipt handle associated with the message, whose visibility timeout is changed. This parameter is returned by the
ReceiveMessage
action.- Parameters:
receiptHandle
- The receipt handle associated with the message, whose visibility timeout is changed. This parameter is returned by theReceiveMessage
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visibilityTimeout
The new value for the message's visibility timeout (in seconds). Values range:
0
to43200
. Maximum: 12 hours.- Parameters:
visibilityTimeout
- The new value for the message's visibility timeout (in seconds). Values range:0
to43200
. Maximum: 12 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ChangeMessageVisibilityRequest.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
ChangeMessageVisibilityRequest.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.
-