public InsightsFilter withCategories(java.util.Collection<String> categories) {
        setCategories(categories);
        return this;
    }
<p>
The categories to use to filter insights.
</p>

@param categories
       The categories to use to filter insights.
@return Returns a reference to this object so that method calls can be chained together.
@see Category
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/InsightsFilter.java