@Generated(value="software.amazon.awssdk:codegen") public final class GetRecordsRequest extends DynamoDbStreamsRequest implements ToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
Represents the input of a GetRecords operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRecordsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetRecordsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The maximum number of records to return from the shard.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRecordsRequest.Builder> |
serializableBuilderClass() |
String |
shardIterator()
A shard iterator that was retrieved from a previous GetShardIterator operation.
|
GetRecordsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final Integer limit()
The maximum number of records to return from the shard. The upper limit is 1000.
public GetRecordsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>toBuilder in class DynamoDbStreamsRequestpublic static GetRecordsRequest.Builder builder()
public static Class<? extends GetRecordsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.