public class UserRecordResult extends Object
KinesisProducer.addUserRecord(java.lang.String, java.lang.String, java.nio.ByteBuffer) operation. If
successful, the shard id and sequence number assigned by the backend are
provided. A list of Attempts is also provided with details about each
attempt made.Attempt| Constructor and Description |
|---|
UserRecordResult(List<Attempt> attempts,
String sequenceNumber,
String shardId,
boolean successful) |
| Modifier and Type | Method and Description |
|---|---|
protected static UserRecordResult |
fromProtobufMessage(com.amazonaws.services.kinesis.producer.protobuf.Messages.PutRecordResult r) |
List<Attempt> |
getAttempts() |
String |
getSequenceNumber() |
String |
getShardId() |
boolean |
isSuccessful() |
public List<Attempt> getAttempts()
Attempts, in the order they were made.public String getSequenceNumber()
public String getShardId()
public boolean isSuccessful()
protected static UserRecordResult fromProtobufMessage(com.amazonaws.services.kinesis.producer.protobuf.Messages.PutRecordResult r)
Copyright © 2018. All rights reserved.