Interface GetRecordsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetRecordsRequest.Builder,
,GetRecordsRequest> DynamoDbStreamsRequest.Builder
,SdkBuilder<GetRecordsRequest.Builder,
,GetRecordsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetRecordsRequest
public static interface GetRecordsRequest.Builder
extends DynamoDbStreamsRequest.Builder, SdkPojo, CopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of records to return from the shard.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.shardIterator
(String shardIterator) A shard iterator that was retrieved from a previous GetShardIterator operation.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.services.dynamodb.model.DynamoDbStreamsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
shardIterator
A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.
- Parameters:
shardIterator
- A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of records to return from the shard. The upper limit is 1000.
- Parameters:
limit
- The maximum number of records to return from the shard. The upper limit is 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRecordsRequest.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
GetRecordsRequest.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.
-