public CloudWatchAlarmDefinition withComparisonOperator(String comparisonOperator) {
        setComparisonOperator(comparisonOperator);
        return this;
    }
<p>
Determines how the metric specified by <code>MetricName</code> is compared to the value specified by
<code>Threshold</code>.
</p>

@param comparisonOperator
       Determines how the metric specified by <code>MetricName</code> is compared to the value specified by
       <code>Threshold</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ComparisonOperator
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/CloudWatchAlarmDefinition.java