StructuredPojo, ToCopyableBuilder<PutRecordsResultEntry.Builder,PutRecordsResultEntry>@Generated("software.amazon.awssdk:codegen") public class PutRecordsResultEntry extends Object implements StructuredPojo, ToCopyableBuilder<PutRecordsResultEntry.Builder,PutRecordsResultEntry>
Represents the result of an individual record from a PutRecords request. A record that is successfully
added to a stream includes SequenceNumber and ShardId in the result. A record that fails to
be added to the stream includes ErrorCode and ErrorMessage in the result.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
PutRecordsResultEntry.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static PutRecordsResultEntry.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
errorCode() |
The error code for an individual record result.
|
String |
errorMessage() |
The error message for an individual record result.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
sequenceNumber() |
The sequence number for an individual record result.
|
static Class<? extends PutRecordsResultEntry.Builder> |
serializableBuilderClass() |
|
String |
shardId() |
The shard ID for an individual record result.
|
PutRecordsResultEntry.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String sequenceNumber()
The sequence number for an individual record result.
public String shardId()
The shard ID for an individual record result.
public String errorCode()
The error code for an individual record result. ErrorCodes can be either
ProvisionedThroughputExceededException or InternalFailure.
ErrorCodes can be either
ProvisionedThroughputExceededException or InternalFailure.public String errorMessage()
The error message for an individual record result. An ErrorCode value of
ProvisionedThroughputExceededException has an error message that includes the account ID, stream
name, and shard ID. An ErrorCode value of InternalFailure has the error message
"Internal Service Failure".
ErrorCode value of
ProvisionedThroughputExceededException has an error message that includes the account ID,
stream name, and shard ID. An ErrorCode value of InternalFailure has the error
message "Internal Service Failure".public PutRecordsResultEntry.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PutRecordsResultEntry.Builder,PutRecordsResultEntry>public static PutRecordsResultEntry.Builder builder()
public static Class<? extends PutRecordsResultEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.