public ViolationEvent withMetricValue(MetricValue metricValue) {
        setMetricValue(metricValue);
        return this;
    }
<p>
The value of the metric (the measurement).
</p>

@param metricValue
       The value of the metric (the measurement).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ViolationEvent.java