Class PutRecordResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output for PutRecord
.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The sequence number identifier that was assigned to the put data record.The shard ID of the shard where the data record was placed.int
hashCode()
void
setSequenceNumber
(String sequenceNumber) The sequence number identifier that was assigned to the put data record.void
setShardId
(String shardId) The shard ID of the shard where the data record was placed.toString()
Returns a string representation of this object; useful for testing and debugging.withSequenceNumber
(String sequenceNumber) The sequence number identifier that was assigned to the put data record.withShardId
(String shardId) The shard ID of the shard where the data record was placed.
-
Constructor Details
-
PutRecordResult
public PutRecordResult()
-
-
Method Details
-
setShardId
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-