public EvaluationResult withViolatorCount(Long violatorCount) {
        setViolatorCount(violatorCount);
        return this;
    }
<p>
The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a
resource is considered noncompliant if it is not associated with the policy. For security group policies, a
resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled
or not possible.
</p>

@param violatorCount
       The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced
       policies, a resource is considered noncompliant if it is not associated with the policy. For security
       group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy
       and remediation is disabled or not possible.
@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/EvaluationResult.java