public class GetShardIteratorResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a GetShardIterator operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
shardIterator
The position in the shard from which to start reading stream records
sequentially.
|
Constructor and Description |
---|
GetShardIteratorResult() |
Modifier and Type | Method and Description |
---|---|
GetShardIteratorResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getShardIterator()
The position in the shard from which to start reading stream records
sequentially.
|
int |
hashCode() |
void |
setShardIterator(java.lang.String shardIterator)
The position in the shard from which to start reading stream records
sequentially.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetShardIteratorResult |
withShardIterator(java.lang.String shardIterator)
The position in the shard from which to start reading stream records
sequentially.
|
private java.lang.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.
public void setShardIterator(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetShardIteratorResult clone()
clone
in class java.lang.Object