@Generated(value="software.amazon.awssdk:codegen") public final class BatchItemError extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchItemError.Builder> |
serializableBuilderClass() |
BatchItemError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer index()
The zero-based index of the document in the input list.
public final String errorCode()
The numeric error code of the error.
public final String errorMessage()
A text description of the error.
public BatchItemError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchItemError.Builder,BatchItemError>public static BatchItemError.Builder builder()
public static Class<? extends BatchItemError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.