@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information about the input document.
Constructor and Description |
---|
DocumentMetadata() |
Modifier and Type | Method and Description |
---|---|
DocumentMetadata |
clone() |
boolean |
equals(Object obj) |
Integer |
getPages()
The number of pages that are detected in the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPages(Integer pages)
The number of pages that are detected in the document.
|
String |
toString()
Returns a string representation of this object.
|
DocumentMetadata |
withPages(Integer pages)
The number of pages that are detected in the document.
|
public void setPages(Integer pages)
The number of pages that are detected in the document.
pages
- The number of pages that are detected in the document.public Integer getPages()
The number of pages that are detected in the document.
public DocumentMetadata withPages(Integer pages)
The number of pages that are detected in the document.
pages
- The number of pages that are detected in the document.public String toString()
toString
in class Object
Object.toString()
public DocumentMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.