public QueryResultItem withDocumentAttributes(java.util.Collection<DocumentAttribute> documentAttributes) {
        setDocumentAttributes(documentAttributes);
        return this;
    }
<p>
An array of document fields/attributes assigned to a document in the search results. For example, the document
author (<code>_author</code>) or the source URI (<code>_source_uri</code>) of the document.
</p>

@param documentAttributes
       An array of document fields/attributes assigned to a document in the search results. For example, the
       document author (<code>_author</code>) or the source URI (<code>_source_uri</code>) of the document.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/QueryResultItem.java