public InsightsFilter withStatuses(java.util.Collection<String> statuses) {
        setStatuses(statuses);
        return this;
    }
<p>
The statuses to use to filter the insights.
</p>

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