public AnalysisError withViolatedEntities(java.util.Collection<Entity> violatedEntities) {
        setViolatedEntities(violatedEntities);
        return this;
    }
<p>
Lists the violated entities that caused the analysis error
</p>

@param violatedEntities
       Lists the violated entities that caused the analysis error
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/AnalysisError.java