public ListDataQualityRulesetsRequest withFilter(DataQualityRulesetFilterCriteria filter) {
        setFilter(filter);
        return this;
    }
<p>
The filter criteria.
</p>

@param filter
       The filter criteria.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/ListDataQualityRulesetsRequest.java