@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecordsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for GetRecords.
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.
|
String |
getShardIterator()
The position in the shard from which you want to start sequentially reading data records.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of records to return.
|
void |
setShardIterator(String shardIterator)
The position in the shard from which you want to start sequentially reading data records.
|
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.
|
GetRecordsRequest |
withShardIterator(String shardIterator)
The position in the shard from which you want to start sequentially reading data records.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setShardIterator(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.
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 String getShardIterator()
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 GetRecordsRequest withShardIterator(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.
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 void setLimit(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
.
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
.public Integer getLimit()
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
.
InvalidArgumentException
.public GetRecordsRequest withLimit(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
.
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
.public String toString()
toString
in class Object
Object.toString()
public GetRecordsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.