@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.