public CloudWatchAlarmDefinition withThreshold(Double threshold) {
        setThreshold(threshold);
        return this;
    }
<p>
The value against which the specified statistic is compared.
</p>

@param threshold
       The value against which the specified statistic is compared.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/CloudWatchAlarmDefinition.java