public class KinesisGetRecordsResponseAdapter extends Object implements GetRecordsResponseAdapter
| Constructor and Description |
|---|
KinesisGetRecordsResponseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
List<software.amazon.awssdk.services.kinesis.model.ChildShard> |
childShards()
Returns the list of child shards of the shard that was retrieved from GetRecords.
|
Long |
millisBehindLatest()
The number of milliseconds the response is from the tip of the stream.
|
String |
nextShardIterator()
Returns the next shard iterator to be used to retrieve next set of records.
|
List<KinesisClientRecord> |
records()
Returns the list of records retrieved from GetRecords.
|
String |
requestId()
Returns the request id of the GetRecords operation.
|
public List<KinesisClientRecord> records()
GetRecordsResponseAdapterrecords in interface GetRecordsResponseAdapterKinesisClientRecordpublic Long millisBehindLatest()
GetRecordsResponseAdaptermillisBehindLatest in interface GetRecordsResponseAdapterpublic List<software.amazon.awssdk.services.kinesis.model.ChildShard> childShards()
GetRecordsResponseAdapterchildShards in interface GetRecordsResponseAdapterChildShardpublic String nextShardIterator()
GetRecordsResponseAdapternextShardIterator in interface GetRecordsResponseAdapterpublic String requestId()
GetRecordsResponseAdapterrequestId in interface GetRecordsResponseAdapterCopyright © 2025. All rights reserved.