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; useful for testing and
debugging.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 © 2015. All rights reserved.