Interface UpdateQueueRecordsVisibilityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateQueueRecordsVisibilityRequest.Builder,,UpdateQueueRecordsVisibilityRequest> KinesisRequest.Builder,SdkBuilder<UpdateQueueRecordsVisibilityRequest.Builder,,UpdateQueueRecordsVisibilityRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateQueueRecordsVisibilityRequest
@Mutable
@NotThreadSafe
public static interface UpdateQueueRecordsVisibilityRequest.Builder
extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<UpdateQueueRecordsVisibilityRequest.Builder,UpdateQueueRecordsVisibilityRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.entries(UpdateQueueRecordsVisibilityRequestEntry... entries) The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the queue the records were received from.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.services.kinesis.model.KinesisRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
queueARN
The ARN of the queue the records were received from.
- Parameters:
queueARN- The ARN of the queue the records were received from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
UpdateQueueRecordsVisibilityRequest.Builder entries(Collection<UpdateQueueRecordsVisibilityRequestEntry> entries) The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.
- Parameters:
entries- The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
UpdateQueueRecordsVisibilityRequest.Builder entries(UpdateQueueRecordsVisibilityRequestEntry... entries) The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.
- Parameters:
entries- The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
UpdateQueueRecordsVisibilityRequest.Builder entries(Consumer<UpdateQueueRecordsVisibilityRequestEntry.Builder>... entries) The records whose visibility timeout is changed, identified by their receipt handles, and the new visibility timeout for each.
This is a convenience method that creates an instance of theUpdateQueueRecordsVisibilityRequestEntry.Builderavoiding the need to create one manually viaUpdateQueueRecordsVisibilityRequestEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<UpdateQueueRecordsVisibilityRequestEntry>).- Parameters:
entries- a consumer that will call methods onUpdateQueueRecordsVisibilityRequestEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateQueueRecordsVisibilityRequest.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
UpdateQueueRecordsVisibilityRequest.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.
-