@Generated(value="software.amazon.awssdk:codegen") public class BatchItemError extends Object implements StructuredPojo, ToCopyableBuilder<BatchItemError.Builder,BatchItemError>
Describes an error that occurred while processing a document in a batch. The operation returns on
BatchItemError object for each document that contained an error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchItemError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchItemError.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorCode()
The numeric error code of the error.
|
String |
errorMessage()
A text description of the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
index()
The zero-based index of the document in the input list.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends BatchItemError.Builder> |
serializableBuilderClass() |
BatchItemError.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Integer index()
The zero-based index of the document in the input list.
public String errorCode()
The numeric error code of the error.
public String errorMessage()
A text description of the error.
public BatchItemError.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<BatchItemError.Builder,BatchItemError>public static BatchItemError.Builder builder()
public static Class<? extends BatchItemError.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.