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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PutRecordResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutRecordResult
clone()
boolean
equals(Object obj)
String
getSequenceNumber()
The sequence number identifier that was assigned to the put data record.String
getShardId()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.PutRecordResult
withSequenceNumber(String sequenceNumber)
The sequence number identifier that was assigned to the put data record.PutRecordResult
withShardId(String shardId)
The shard ID of the shard where the data record was placed.
-
-
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutRecordResult clone()
-
-