@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestDetail extends Object implements Serializable, Cloneable, StructuredPojo
Provides additional detail about why the request failed.
| Constructor and Description |
|---|
InvalidRequestDetail() |
| Modifier and Type | Method and Description |
|---|---|
InvalidRequestDetail |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
Reason codes include the following values:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReason(String reason)
Reason codes include the following values:
|
String |
toString()
Returns a string representation of this object.
|
InvalidRequestDetail |
withReason(InvalidRequestDetailReason reason)
Reason codes include the following values:
|
InvalidRequestDetail |
withReason(String reason)
Reason codes include the following values:
|
public void setReason(String reason)
Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
reason - Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
InvalidRequestDetailReasonpublic String getReason()
Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
InvalidRequestDetailReasonpublic InvalidRequestDetail withReason(String reason)
Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
reason - Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
InvalidRequestDetailReasonpublic InvalidRequestDetail withReason(InvalidRequestDetailReason reason)
Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
reason - Reason codes include the following values:
DOCUMENT_SIZE_EXCEEDED - Document size is too large. Check the size of your file and resubmit the request.
UNSUPPORTED_DOC_TYPE - Document type is not supported. Check the file type and resubmit the request.
PAGE_LIMIT_EXCEEDED - Too many pages in the document. Check the number of pages in your file and resubmit the request.
TEXTRACT_ACCESS_DENIED - Access denied to Amazon Textract. Verify that your account has permission to use Amazon Textract API operations and resubmit the request.
NOT_TEXTRACT_JSON - Document is not Amazon Textract JSON format. Verify the format and resubmit the request.
MISMATCHED_TOTAL_PAGE_COUNT - Check the number of pages in your file and resubmit the request.
INVALID_DOCUMENT - Invalid document. Check the file and resubmit the request.
InvalidRequestDetailReasonpublic String toString()
toString in class ObjectObject.toString()public InvalidRequestDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.