@Generated(value="software.amazon.awssdk:codegen") public final class GetRecordsRequest extends KinesisRequest implements ToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
Represents the input for GetRecords.
| 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRecordsRequest.Builder> |
serializableBuilderClass() |
String |
shardIterator()
The position in the shard from which you want to start sequentially reading data records.
|
String |
streamARN()
The ARN of the stream.
|
GetRecordsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String shardIterator()
The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard.
public final Integer limit()
The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that is greater
than 10,000, GetRecords throws InvalidArgumentException. The default value is 10,000.
InvalidArgumentException. The default value is
10,000.public final String streamARN()
The ARN of the stream.
public GetRecordsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>toBuilder in class KinesisRequestpublic 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 © 2023. All rights reserved.