@Deprecated
    public void setThreshold(Double threshold) {
        this.threshold = threshold;
    }
<p>
(deprecated)
</p>
<p>
The update to the threshold value for receiving notifications.
</p>
<p>
This field has been deprecated. To update a threshold, use ThresholdExpression. Continued use of Threshold will
be treated as shorthand syntax for a ThresholdExpression.
</p>
<p>
You can specify either Threshold or ThresholdExpression, but not both.
</p>

@param threshold
       (deprecated)</p>
       <p>
       The update to the threshold value for receiving notifications.
       </p>
       <p>
       This field has been deprecated. To update a threshold, use ThresholdExpression. Continued use of Threshold
       will be treated as shorthand syntax for a ThresholdExpression.
       </p>
       <p>
       You can specify either Threshold or ThresholdExpression, but not both.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/UpdateAnomalySubscriptionRequest.java