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:
  • Constructor Details

    • GetShardIteratorResult

      public GetShardIteratorResult()
  • Method Details

    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetShardIteratorResult clone()
      Overrides:
      clone in class Object