Class GetRecordsRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.kinesis.model.KinesisRequest
software.amazon.awssdk.services.kinesis.model.GetRecordsRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
@Generated("software.amazon.awssdk:codegen")
public final class GetRecordsRequest
extends KinesisRequest
implements ToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest>
Represents the input for GetRecords.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GetRecordsRequest.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integerlimit()The maximum number of records to return.static Class<? extends GetRecordsRequest.Builder>final StringThe position in the shard from which you want to start sequentially reading data records.final StringThe ARN of the stream.final StringstreamId()Not Implemented.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
- Returns:
- 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.
-
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.- Returns:
- 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.
-
streamARN
The ARN of the stream.
- Returns:
- The ARN of the stream.
-
streamId
Not Implemented. Reserved for future use.
- Returns:
- Not Implemented. Reserved for future use.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRecordsRequest.Builder,GetRecordsRequest> - Specified by:
toBuilderin classKinesisRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-