Class PutRecordResult

java.lang.Object
com.amazonaws.services.kinesis.model.PutRecordResult
All Implemented Interfaces:
Serializable, Cloneable

public class PutRecordResult extends Object implements Serializable, Cloneable

Represents the output for PutRecord.

See Also:
  • Constructor Details

    • PutRecordResult

      public PutRecordResult()
  • Method Details

    • 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:
    • equals

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

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

      public PutRecordResult clone()
      Overrides:
      clone in class Object