public ViolationEvent withViolationEventTime(java.util.Date violationEventTime) {
        setViolationEventTime(violationEventTime);
        return this;
    }
<p>
The time the violation event occurred.
</p>

@param violationEventTime
       The time the violation event occurred.
@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