public void setViolatingRoutes(java.util.Collection<Route> violatingRoutes) {
        if (violatingRoutes == null) {
            this.violatingRoutes = null;
            return;
        }

        this.violatingRoutes = new java.util.ArrayList<Route>(violatingRoutes);
    }
<p>
The routes that are in violation.
</p>

@param violatingRoutes
       The routes that are in violation.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/NetworkFirewallUnexpectedFirewallRoutesViolation.java