public DocumentMetadata withExtractedCharacters(ExtractedCharactersListItem... extractedCharacters) {
        if (this.extractedCharacters == null) {
            setExtractedCharacters(new java.util.ArrayList<ExtractedCharactersListItem>(extractedCharacters.length));
        }
        for (ExtractedCharactersListItem ele : extractedCharacters) {
            this.extractedCharacters.add(ele);
        }
        return this;
    }
<p>
List of pages in the document, with the number of characters extracted from each page.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExtractedCharacters(java.util.Collection)} or {@link #withExtractedCharacters(java.util.Collection)}
if you want to override the existing values.
</p>

@param extractedCharacters
       List of pages in the document, with the number of characters extracted from each page.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentMetadata.java