Class PutRecordResult

    • Constructor Detail

      • PutRecordResult

        public PutRecordResult()
    • Method Detail

      • setShardId

        public void setShardId​(String shardId)

        The shard ID of the shard where the data record was placed.

        Parameters:
        shardId - The shard ID of the shard where the data record was placed.
      • getShardId

        public String getShardId()

        The shard ID of the shard where the data record was placed.

        Returns:
        The shard ID of the shard where the data record was placed.
      • withShardId

        public PutRecordResult withShardId​(String shardId)

        The shard ID of the shard where the data record was placed.

        Parameters:
        shardId - The shard ID of the shard where the data record was placed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSequenceNumber

        public void setSequenceNumber​(String sequenceNumber)

        The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.

        Parameters:
        sequenceNumber - The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
      • getSequenceNumber

        public String getSequenceNumber()

        The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.

        Returns:
        The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
      • withSequenceNumber

        public PutRecordResult withSequenceNumber​(String sequenceNumber)

        The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.

        Parameters:
        sequenceNumber - The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
        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