public Double getThreshold() {
        return this.threshold;
    }
<p>
The value against which the specified statistic is compared.
</p>
<p>
This parameter is required for alarms based on static thresholds, but should not be used for alarms based on
anomaly detection models.
</p>

@return The value against which the specified statistic is compared.</p>
        <p>
        This parameter is required for alarms based on static thresholds, but should not be used for alarms based
        on anomaly detection models.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/PutMetricAlarmRequest.java