public static interface GetRecordsRequest.Builder extends KinesisRequest.Builder, CopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetRecordsRequest.Builder |
limit(Integer limit)
The maximum number of records to return.
|
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)
The position in the shard from which you want to start sequentially reading data records.
|
buildrequestOverrideConfigcopyapply, buildGetRecordsRequest.Builder shardIterator(String shardIterator)
The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard.
shardIterator - The position in the shard from which you want to start sequentially reading data records. A shard
iterator specifies this position using the sequence number of a data record in the shard.GetRecordsRequest.Builder limit(Integer limit)
The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that is
greater than 10,000, GetRecords throws InvalidArgumentException.
limit - The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that
is greater than 10,000, GetRecords throws InvalidArgumentException.GetRecordsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.GetRecordsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.