public DocumentText withHighlights(java.util.Collection<Highlight> highlights) {
        setHighlights(highlights);
        return this;
    }
<p>
Highlights in the document text.
</p>

@param highlights
       Highlights in the document text.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qconnect/src/main/java/com/amazonaws/services/qconnect/model/DocumentText.java