CopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
, SdkBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
public static interface GetRecordsRequest.Builder extends CopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
Modifier and Type | Method | Description |
---|---|---|
GetRecordsRequest.Builder |
limit(Integer limit) |
The maximum number of records to return from the shard.
|
GetRecordsRequest.Builder |
shardIterator(String shardIterator) |
A shard iterator that was retrieved from a previous GetShardIterator operation.
|
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.