@Generated(value="software.amazon.awssdk:codegen") public class GetRecordsResponse extends AmazonWebServiceResult<ResponseMetadata> implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<GetRecordsResponse.Builder,GetRecordsResponse>
Represents the output of a GetRecords
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
GetRecordsResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetRecordsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
nextShardIterator()
The next position in the shard from which to start sequentially reading stream records.
|
List<Record> |
records()
The stream records from the shard, which were retrieved using the shard iterator.
|
static Class<? extends GetRecordsResponse.Builder> |
serializableBuilderClass() |
GetRecordsResponse.Builder |
toBuilder() |
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public List<Record> records()
The stream records from the shard, which were retrieved using the shard iterator.
public String nextShardIterator()
The next position in the shard from which to start sequentially reading stream records. If set to
null
, the shard has been closed and the requested iterator will not return any more data.
null
, the shard has been closed and the requested iterator will not return any more data.public GetRecordsResponse.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<GetRecordsResponse.Builder,GetRecordsResponse>
public static GetRecordsResponse.Builder builder()
public static Class<? extends GetRecordsResponse.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.