public QueryConditionItem withComparator(QueryConditionComparisonOperator comparator) {
        this.comparator = comparator.toString();
        return this;
    }
<p>
The comparison operator for query condition to query on.
</p>

@param comparator
       The comparison operator for query condition to query on.
@return Returns a reference to this object so that method calls can be chained together.
@see QueryConditionComparisonOperator
aws-java-sdk-qconnect/src/main/java/com/amazonaws/services/qconnect/model/QueryConditionItem.java