@Generated(value="software.amazon.awssdk:codegen") public final class ErrorsListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ErrorsListItem.Builder,ErrorsListItem>
Text extraction encountered one or more page-level errors in the input document.
The ErrorCode contains one of the following values:
TEXTRACT_BAD_PAGE - Amazon Textract cannot read the page. For more information about page limits in Amazon Textract, see Page Quotas in Amazon Textract.
TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED - The number of requests exceeded your throughput limit. For more information about throughput quotas in Amazon Textract, see Default quotas in Amazon Textract.
PAGE_CHARACTERS_EXCEEDED - Too many text characters on the page (10,000 characters maximum).
PAGE_SIZE_EXCEEDED - The maximum page size is 10 MB.
INTERNAL_SERVER_ERROR - The request encountered a service issue. Try the API request again.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ErrorsListItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ErrorsListItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
PageBasedErrorCode |
errorCode()
Error code for the cause of the error.
|
String |
errorCodeAsString()
Error code for the cause of the error.
|
String |
errorMessage()
Text message explaining the reason for the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
page()
Page number where the error occurred.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ErrorsListItem.Builder> |
serializableBuilderClass() |
ErrorsListItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer page()
Page number where the error occurred.
public final PageBasedErrorCode errorCode()
Error code for the cause of the error.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return PageBasedErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
PageBasedErrorCodepublic final String errorCodeAsString()
Error code for the cause of the error.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return PageBasedErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
PageBasedErrorCodepublic final String errorMessage()
Text message explaining the reason for the error.
public ErrorsListItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ErrorsListItem.Builder,ErrorsListItem>public static ErrorsListItem.Builder builder()
public static Class<? extends ErrorsListItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.