public String getComparisonOperator() {
        return this.comparisonOperator;
    }
<p>
The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic
value is used as the first operand.
</p>
<p>
The values <code>LessThanLowerOrGreaterThanUpperThreshold</code>, <code>LessThanLowerThreshold</code>, and
<code>GreaterThanUpperThreshold</code> are used only for alarms based on anomaly detection models.
</p>

@return The arithmetic operation to use when comparing the specified statistic and threshold. The specified
        statistic value is used as the first operand.</p>
        <p>
        The values <code>LessThanLowerOrGreaterThanUpperThreshold</code>, <code>LessThanLowerThreshold</code>,
        and <code>GreaterThanUpperThreshold</code> are used only for alarms based on anomaly detection models.
@see ComparisonOperator
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/PutMetricAlarmRequest.java