ToCopyableBuilder<GetRecordsResponse.Builder,GetRecordsResponse>
@Generated("software.amazon.awssdk:codegen") public class GetRecordsResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetRecordsResponse.Builder,GetRecordsResponse>
Represents the output of a GetRecords
operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetRecordsResponse.Builder |
Modifier and Type | Method | 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() |
Take this object and create a builder that contains all of the current property values of this object.
|
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetRecordsResponse.Builder,GetRecordsResponse>
public static GetRecordsResponse.Builder builder()
public static Class<? extends GetRecordsResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.