public class GetShardIteratorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for GetShardIterator.
NOOP| Constructor and Description |
|---|
GetShardIteratorRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetShardIteratorRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getShardId()
The shard ID of the shard to get the iterator for.
|
String |
getShardIteratorType()
Determines how the shard iterator is used to start reading data records
from the shard.
|
String |
getStartingSequenceNumber()
The sequence number of the data record in the shard from which to start
reading from.
|
String |
getStreamName()
The name of the stream.
|
int |
hashCode() |
void |
setShardId(String shardId)
The shard ID of the shard to get the iterator for.
|
void |
setShardIteratorType(ShardIteratorType shardIteratorType)
Determines how the shard iterator is used to start reading data records
from the shard.
|
void |
setShardIteratorType(String shardIteratorType)
Determines how the shard iterator is used to start reading data records
from the shard.
|
void |
setStartingSequenceNumber(String startingSequenceNumber)
The sequence number of the data record in the shard from which to start
reading from.
|
void |
setStreamName(String streamName)
The name of the stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetShardIteratorRequest |
withShardId(String shardId)
The shard ID of the shard to get the iterator for.
|
GetShardIteratorRequest |
withShardIteratorType(ShardIteratorType shardIteratorType)
Determines how the shard iterator is used to start reading data records
from the shard.
|
GetShardIteratorRequest |
withShardIteratorType(String shardIteratorType)
Determines how the shard iterator is used to start reading data records
from the shard.
|
GetShardIteratorRequest |
withStartingSequenceNumber(String startingSequenceNumber)
The sequence number of the data record in the shard from which to start
reading from.
|
GetShardIteratorRequest |
withStreamName(String streamName)
The name of the stream.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStreamName(String streamName)
The name of the stream.
streamName - The name of the stream.public String getStreamName()
The name of the stream.
public GetShardIteratorRequest withStreamName(String streamName)
The name of the stream.
streamName - The name of the stream.public void setShardId(String shardId)
The shard ID of the shard to get the iterator for.
shardId - The shard ID of the shard to get the iterator for.public String getShardId()
The shard ID of the shard to get the iterator for.
public GetShardIteratorRequest withShardId(String shardId)
The shard ID of the shard to get the iterator for.
shardId - The shard ID of the shard to get the iterator for.public void setShardIteratorType(String shardIteratorType)
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid shard iterator types:
shardIteratorType - Determines how the shard iterator is used to start reading data
records from the shard.
The following are the valid shard iterator types:
ShardIteratorTypepublic String getShardIteratorType()
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid shard iterator types:
The following are the valid shard iterator types:
ShardIteratorTypepublic GetShardIteratorRequest withShardIteratorType(String shardIteratorType)
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid shard iterator types:
shardIteratorType - Determines how the shard iterator is used to start reading data
records from the shard.
The following are the valid shard iterator types:
ShardIteratorTypepublic void setShardIteratorType(ShardIteratorType shardIteratorType)
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid shard iterator types:
shardIteratorType - Determines how the shard iterator is used to start reading data
records from the shard.
The following are the valid shard iterator types:
ShardIteratorTypepublic GetShardIteratorRequest withShardIteratorType(ShardIteratorType shardIteratorType)
Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid shard iterator types:
shardIteratorType - Determines how the shard iterator is used to start reading data
records from the shard.
The following are the valid shard iterator types:
ShardIteratorTypepublic void setStartingSequenceNumber(String startingSequenceNumber)
The sequence number of the data record in the shard from which to start reading from.
startingSequenceNumber - The sequence number of the data record in the shard from which to
start reading from.public String getStartingSequenceNumber()
The sequence number of the data record in the shard from which to start reading from.
public GetShardIteratorRequest withStartingSequenceNumber(String startingSequenceNumber)
The sequence number of the data record in the shard from which to start reading from.
startingSequenceNumber - The sequence number of the data record in the shard from which to
start reading from.public String toString()
toString in class ObjectObject.toString()public GetShardIteratorRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.