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() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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:
ShardIteratorType
public 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:
ShardIteratorType
public 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:
ShardIteratorType
public 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:
ShardIteratorType
public 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:
ShardIteratorType
public 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 Object
Object.toString()
public GetShardIteratorRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.