public RecommendationTriggerData withQuery(QueryRecommendationTriggerData query) {
        setQuery(query);
        return this;
    }
<p>
Data associated with the QUERY RecommendationTriggerType.
</p>

@param query
       Data associated with the QUERY RecommendationTriggerType.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectwisdom/src/main/java/com/amazonaws/services/connectwisdom/model/RecommendationTriggerData.java