public EventFilter withEntityArns(String... entityArns) {
        if (this.entityArns == null) {
            setEntityArns(new java.util.ArrayList<String>(entityArns.length));
        }
        for (String ele : entityArns) {
            this.entityArns.add(ele);
        }
        return this;
    }
<p>
A list of entity ARNs (unique identifiers).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEntityArns(java.util.Collection)} or {@link #withEntityArns(java.util.Collection)} if you want to
override the existing values.
</p>

@param entityArns
       A list of entity ARNs (unique identifiers).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/EventFilter.java