public static interface GetRecordsRequest.Builder extends DynamoDbStreamsRequest.Builder, CopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
Modifier and Type | Method and Description |
---|---|
GetRecordsRequest.Builder |
limit(Integer limit)
The maximum number of records to return from the shard.
|
GetRecordsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetRecordsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetRecordsRequest.Builder |
shardIterator(String shardIterator)
A shard iterator that was retrieved from a previous GetShardIterator operation.
|
build
overrideConfiguration
copy
applyMutation, build
GetRecordsRequest.Builder shardIterator(String 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.
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.GetRecordsRequest.Builder limit(Integer limit)
The maximum number of records to return from the shard. The upper limit is 1000.
limit
- The maximum number of records to return from the shard. The upper limit is 1000.GetRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.