public Threshold withThresholdValue(Double thresholdValue) {
        setThresholdValue(thresholdValue);
        return this;
    }
<p>
The threshold value to compare.
</p>

@param thresholdValue
       The threshold value to compare.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Threshold.java