public class GetShardIteratorResult extends Object implements Serializable, Cloneable
Represents the output of a GetShardIterator operation.
Constructor and Description |
---|
GetShardIteratorResult() |
Modifier and Type | Method and Description |
---|---|
GetShardIteratorResult |
clone() |
boolean |
equals(Object obj) |
String |
getShardIterator()
The position in the shard from which to start reading stream records
sequentially.
|
int |
hashCode() |
void |
setShardIterator(String shardIterator)
The position in the shard from which to start reading stream records
sequentially.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetShardIteratorResult |
withShardIterator(String shardIterator)
The position in the shard from which to start reading stream records
sequentially.
|
public void setShardIterator(String shardIterator)
The position in the shard from which to start reading stream records sequentially. A shard iterator specifies this position using the sequence number of a stream record in a shard.
shardIterator
- The position in the shard from which to start reading stream
records sequentially. A shard iterator specifies this position
using the sequence number of a stream record in a shard.public String getShardIterator()
The position in the shard from which to start reading stream records sequentially. A shard iterator specifies this position using the sequence number of a stream record in a shard.
public GetShardIteratorResult withShardIterator(String shardIterator)
The position in the shard from which to start reading stream records sequentially. A shard iterator specifies this position using the sequence number of a stream record in a shard.
shardIterator
- The position in the shard from which to start reading stream
records sequentially. A shard iterator specifies this position
using the sequence number of a stream record in a shard.public String toString()
toString
in class Object
Object.toString()
public GetShardIteratorResult clone()
Copyright © 2015. All rights reserved.