@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecordsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a GetRecords
operation.
NOOP
Constructor and Description |
---|
GetRecordsRequest() |
Modifier and Type | Method and Description |
---|---|
GetRecordsRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of records to return from the shard.
|
String |
getShardIterator()
A shard iterator that was retrieved from a previous GetShardIterator operation.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of records to return from the shard.
|
void |
setShardIterator(String shardIterator)
A shard iterator that was retrieved from a previous GetShardIterator operation.
|
String |
toString()
Returns a string representation of this object.
|
GetRecordsRequest |
withLimit(Integer limit)
The maximum number of records to return from the shard.
|
GetRecordsRequest |
withShardIterator(String shardIterator)
A shard iterator that was retrieved from a previous GetShardIterator operation.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setShardIterator(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.
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 String getShardIterator()
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 GetRecordsRequest withShardIterator(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.
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 void setLimit(Integer limit)
The maximum number of records to return from the shard. The upper limit is 1000.
limit
- The maximum number of records to return from the shard. The upper limit is 1000.public Integer getLimit()
The maximum number of records to return from the shard. The upper limit is 1000.
public GetRecordsRequest withLimit(Integer limit)
The maximum number of records to return from the shard. The upper limit is 1000.
limit
- The maximum number of records to return from the shard. The upper limit is 1000.public String toString()
toString
in class Object
Object.toString()
public GetRecordsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.