@Generated(value="software.amazon.awssdk:codegen") public final class BatchGetDocumentStatusResponseError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchGetDocumentStatusResponseError.Builder,BatchGetDocumentStatusResponseError>
Provides a response when the status of a document could not be retrieved.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchGetDocumentStatusResponseError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchGetDocumentStatusResponseError.Builder |
builder() |
String |
documentId()
The identifier of the document whose status could not be retrieved.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorCode |
errorCode()
Indicates the source of the error.
|
String |
errorCodeAsString()
Indicates the source of the error.
|
String |
errorMessage()
States that the API could not get the status of a document.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchGetDocumentStatusResponseError.Builder> |
serializableBuilderClass() |
BatchGetDocumentStatusResponseError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String documentId()
The identifier of the document whose status could not be retrieved.
public final ErrorCode errorCode()
Indicates the source of the error.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorCodeAsString()
Indicates the source of the error.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic final String errorMessage()
States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.
public BatchGetDocumentStatusResponseError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchGetDocumentStatusResponseError.Builder,BatchGetDocumentStatusResponseError>public static BatchGetDocumentStatusResponseError.Builder builder()
public static Class<? extends BatchGetDocumentStatusResponseError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.