public FeatureSummary withEvaluationRules(EvaluationRule... evaluationRules) {
        if (this.evaluationRules == null) {
            setEvaluationRules(new java.util.ArrayList<EvaluationRule>(evaluationRules.length));
        }
        for (EvaluationRule ele : evaluationRules) {
            this.evaluationRules.add(ele);
        }
        return this;
    }
<p>
An array of structures that define
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEvaluationRules(java.util.Collection)} or {@link #withEvaluationRules(java.util.Collection)} if you
want to override the existing values.
</p>

@param evaluationRules
       An array of structures that define
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/FeatureSummary.java