public class DocumentLocation extends Object implements Serializable
The Amazon S3 bucket that contains the document to be processed. It's used by asynchronous operations such as StartDocumentTextDetection.
The input document can be an image file in JPG or PNG format. It can also be a file in PDF format.
| Constructor and Description |
|---|
DocumentLocation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
S3Object |
getS3Object()
The Amazon S3 bucket that contains the input document.
|
int |
hashCode() |
void |
setS3Object(S3Object s3Object)
The Amazon S3 bucket that contains the input document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentLocation |
withS3Object(S3Object s3Object)
The Amazon S3 bucket that contains the input document.
|
public S3Object getS3Object()
The Amazon S3 bucket that contains the input document.
The Amazon S3 bucket that contains the input document.
public void setS3Object(S3Object s3Object)
The Amazon S3 bucket that contains the input document.
s3Object - The Amazon S3 bucket that contains the input document.
public DocumentLocation withS3Object(S3Object s3Object)
The Amazon S3 bucket that contains the input document.
Returns a reference to this object so that method calls can be chained together.
s3Object - The Amazon S3 bucket that contains the input document.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.