public SuggestionTextWithHighlights withHighlights(java.util.Collection<SuggestionHighlight> highlights) {
        setHighlights(highlights);
        return this;
    }
<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.
@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/SuggestionTextWithHighlights.java