@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information about the document, discovered during text extraction.
Constructor and Description |
---|
DocumentMetadata() |
Modifier and Type | Method and Description |
---|---|
DocumentMetadata |
clone() |
boolean |
equals(Object obj) |
List<ExtractedCharactersListItem> |
getExtractedCharacters()
List of pages in the document, with the number of characters extracted from each page.
|
Integer |
getPages()
Number of pages in the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExtractedCharacters(Collection<ExtractedCharactersListItem> extractedCharacters)
List of pages in the document, with the number of characters extracted from each page.
|
void |
setPages(Integer pages)
Number of pages in the document.
|
String |
toString()
Returns a string representation of this object.
|
DocumentMetadata |
withExtractedCharacters(Collection<ExtractedCharactersListItem> extractedCharacters)
List of pages in the document, with the number of characters extracted from each page.
|
DocumentMetadata |
withExtractedCharacters(ExtractedCharactersListItem... extractedCharacters)
List of pages in the document, with the number of characters extracted from each page.
|
DocumentMetadata |
withPages(Integer pages)
Number of pages in the document.
|
public void setPages(Integer pages)
Number of pages in the document.
pages
- Number of pages in the document.public Integer getPages()
Number of pages in the document.
public DocumentMetadata withPages(Integer pages)
Number of pages in the document.
pages
- Number of pages in the document.public List<ExtractedCharactersListItem> getExtractedCharacters()
List of pages in the document, with the number of characters extracted from each page.
public void setExtractedCharacters(Collection<ExtractedCharactersListItem> extractedCharacters)
List of pages in the document, with the number of characters extracted from each page.
extractedCharacters
- List of pages in the document, with the number of characters extracted from each page.public DocumentMetadata withExtractedCharacters(ExtractedCharactersListItem... extractedCharacters)
List of pages in the document, with the number of characters extracted from each page.
NOTE: This method appends the values to the existing list (if any). Use
setExtractedCharacters(java.util.Collection)
or withExtractedCharacters(java.util.Collection)
if you want to override the existing values.
extractedCharacters
- List of pages in the document, with the number of characters extracted from each page.public DocumentMetadata withExtractedCharacters(Collection<ExtractedCharactersListItem> extractedCharacters)
List of pages in the document, with the number of characters extracted from each page.
extractedCharacters
- List of pages in the document, with the number of characters extracted from each page.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.