public class DocumentMetadata
extends java.lang.Object
implements java.io.Serializable
Information about the input document.
Constructor and Description |
---|
DocumentMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getPages()
The number of pages that are detected in the document.
|
int |
hashCode() |
void |
setPages(java.lang.Integer pages)
The number of pages that are detected in the document.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentMetadata |
withPages(java.lang.Integer pages)
The number of pages that are detected in the document.
|
public java.lang.Integer getPages()
The number of pages that are detected in the document.
Constraints:
Range: 0 -
The number of pages that are detected in the document.
public void setPages(java.lang.Integer pages)
The number of pages that are detected in the document.
Constraints:
Range: 0 -
pages
- The number of pages that are detected in the document.
public DocumentMetadata withPages(java.lang.Integer pages)
The number of pages that are detected in the document.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
pages
- The number of pages that are detected in the 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.