@Generated(value="software.amazon.awssdk:codegen") public final class BatchItemError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchItemError.Builder,BatchItemError>
Contains the batch request error details associated with the request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchItemError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchItemError.Builder |
builder() |
BatchItemErrorCode |
code()
The error code associated with the batch request error.
|
String |
codeAsString()
The error code associated with the batch request error.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message with the reason for the batch request error.
|
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 BatchItemErrorCode code()
The error code associated with the batch request error.
If the service returns an enum value that is not available in the current SDK version, code will return
BatchItemErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
BatchItemErrorCodepublic final String codeAsString()
The error code associated with the batch request error.
If the service returns an enum value that is not available in the current SDK version, code will return
BatchItemErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
BatchItemErrorCodepublic final String message()
A message with the reason for the batch request 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 © 2022. All rights reserved.