public AwsEc2InstanceViolation withAwsEc2NetworkInterfaceViolations(java.util.Collection<AwsEc2NetworkInterfaceViolation> awsEc2NetworkInterfaceViolations) {
        setAwsEc2NetworkInterfaceViolations(awsEc2NetworkInterfaceViolations);
        return this;
    }
<p>
Violation detail for network interfaces associated with the EC2 instance.
</p>

@param awsEc2NetworkInterfaceViolations
       Violation detail for network interfaces associated with the EC2 instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/AwsEc2InstanceViolation.java