public MetricDimension withComparisonOperator(String comparisonOperator) {
        setComparisonOperator(comparisonOperator);
        return this;
    }
<p>
The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN,
GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.
</p>

@param comparisonOperator
       The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN,
       GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/MetricDimension.java