@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectDocumentTextRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetectDocumentTextRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetectDocumentTextRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Document |
getDocument()
The input document as base64-encoded bytes or an Amazon S3 object.
|
int |
hashCode() |
void |
setDocument(Document document)
The input document as base64-encoded bytes or an Amazon S3 object.
|
String |
toString()
Returns a string representation of this object.
|
DetectDocumentTextRequest |
withDocument(Document document)
The input document as base64-encoded bytes or an Amazon S3 object.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDocument(Document document)
The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are
passed using the Bytes field.
document - The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon
Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that
are passed using the Bytes field.
public Document getDocument()
The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are
passed using the Bytes field.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that
are passed using the Bytes field.
public DetectDocumentTextRequest withDocument(Document document)
The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are
passed using the Bytes field.
document - The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon
Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that
are passed using the Bytes field.
public String toString()
toString in class ObjectObject.toString()public DetectDocumentTextRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()