public QueryResultItem withDocumentTitle(TextWithHighlights documentTitle) {
        setDocumentTitle(documentTitle);
        return this;
    }
<p>
The title of the document. Contains the text of the title and information for highlighting the relevant terms in
the title.
</p>

@param documentTitle
       The title of the document. Contains the text of the title and information for highlighting the relevant
       terms in the title.
@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