@Generated(value="software.amazon.awssdk:codegen") public final class PutRecordBatchResponseEntry extends Object implements StructuredPojo, ToCopyableBuilder<PutRecordBatchResponseEntry.Builder,PutRecordBatchResponseEntry>
Contains the result for an individual record from a PutRecordBatch request. If the record is successfully added to your delivery stream, it receives a record ID. If the record fails to be added to your delivery stream, the result includes an error code and an error message.
Modifier and Type | Class and Description |
---|---|
static interface |
PutRecordBatchResponseEntry.Builder |
Modifier and Type | Method and Description |
---|---|
static PutRecordBatchResponseEntry.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.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
recordId()
The ID of the record.
|
static Class<? extends PutRecordBatchResponseEntry.Builder> |
serializableBuilderClass() |
PutRecordBatchResponseEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String recordId()
The ID of the record.
public String errorCode()
The error code for an individual record result.
public String errorMessage()
The error message for an individual record result.
public PutRecordBatchResponseEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutRecordBatchResponseEntry.Builder,PutRecordBatchResponseEntry>
public static PutRecordBatchResponseEntry.Builder builder()
public static Class<? extends PutRecordBatchResponseEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.