public void setHighlights(java.util.Collection<Highlight> highlights) {
        if (highlights == null) {
            this.highlights = null;
            return;
        }

        this.highlights = new java.util.ArrayList<Highlight>(highlights);
    }
<p>
Highlights in the document text.
</p>

@param highlights
       Highlights in the document text.
aws-java-sdk-qconnect/src/main/java/com/amazonaws/services/qconnect/model/DocumentText.java