Class GetRecordsRequest

    • Constructor Detail

      • GetRecordsRequest

        public GetRecordsRequest()
    • Method Detail

      • setShardIterator

        public void setShardIterator​(String shardIterator)

        A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

        Parameters:
        shardIterator - A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.
      • getShardIterator

        public String getShardIterator()

        A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

        Returns:
        A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.
      • withShardIterator

        public GetRecordsRequest withShardIterator​(String shardIterator)

        A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.

        Parameters:
        shardIterator - A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLimit

        public void setLimit​(Integer limit)

        The maximum number of records to return from the shard. The upper limit is 1000.

        Parameters:
        limit - The maximum number of records to return from the shard. The upper limit is 1000.
      • getLimit

        public Integer getLimit()

        The maximum number of records to return from the shard. The upper limit is 1000.

        Returns:
        The maximum number of records to return from the shard. The upper limit is 1000.
      • withLimit

        public GetRecordsRequest withLimit​(Integer limit)

        The maximum number of records to return from the shard. The upper limit is 1000.

        Parameters:
        limit - The maximum number of records to return from the shard. The upper limit is 1000.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object