Class GetShardIteratorResult
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.model.GetShardIteratorResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetShardIteratorResult extends Object implements Serializable, Cloneable
Represents the output of a GetShardIterator operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetShardIteratorResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetShardIteratorResultclone()booleanequals(Object obj)StringgetShardIterator()The position in the shard from which to start reading stream records sequentially.inthashCode()voidsetShardIterator(String shardIterator)The position in the shard from which to start reading stream records sequentially.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetShardIteratorResultwithShardIterator(String shardIterator)The position in the shard from which to start reading stream records sequentially.
-
-
-
Method Detail
-
setShardIterator
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.
- Parameters:
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.
-
getShardIterator
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.
- Returns:
- 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.
-
withShardIterator
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetShardIteratorResult clone()
-
-