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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetRecordsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.GetRecordsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.