public TextWithHighlights getDocumentExcerpt() {
        return this.documentExcerpt;
    }
<p>
An extract of the text in the document. Contains information about highlighting the relevant terms in the
excerpt.
</p>

@return An extract of the text in the document. Contains information about highlighting the relevant terms in the
        excerpt.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/QueryResultItem.java