public class DocumentLocation
extends java.lang.Object
implements java.io.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 JPEG or PNG format. It can also be a file in PDF format.
Constructor and Description |
---|
DocumentLocation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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.
|
java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.