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

        this.highlights = new java.util.ArrayList<SuggestionHighlight>(highlights);
    }
<p>
The beginning and end of the query suggestion text that should be highlighted.
</p>

@param highlights
       The beginning and end of the query suggestion text that should be highlighted.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/SuggestionTextWithHighlights.java