public ActiveViolation withLastViolationValue(MetricValue lastViolationValue) {
        setLastViolationValue(lastViolationValue);
        return this;
    }
<p>
The value of the metric (the measurement) that caused the most recent violation.
</p>

@param lastViolationValue
       The value of the metric (the measurement) that caused the most recent violation.
@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/ActiveViolation.java