public ListCatalogItemsRequest withEC2FamilyFilter(String... eC2FamilyFilter) {
        if (this.eC2FamilyFilter == null) {
            setEC2FamilyFilter(new java.util.ArrayList<String>(eC2FamilyFilter.length));
        }
        for (String ele : eC2FamilyFilter) {
            this.eC2FamilyFilter.add(ele);
        }
        return this;
    }
<p>
Filters the results by EC2 family (for example, M5).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEC2FamilyFilter(java.util.Collection)} or {@link #withEC2FamilyFilter(java.util.Collection)} if you
want to override the existing values.
</p>

@param eC2FamilyFilter
       Filters the results by EC2 family (for example, M5).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/ListCatalogItemsRequest.java