public void setActiveViolations(java.util.Collection<ActiveViolation> activeViolations) {
        if (activeViolations == null) {
            this.activeViolations = null;
            return;
        }

        this.activeViolations = new java.util.ArrayList<ActiveViolation>(activeViolations);
    }
<p>
The list of active violations.
</p>

@param activeViolations
       The list of active violations.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListActiveViolationsResult.java