public ListReadSetsRequest withFilter(ReadSetFilter filter) {
        setFilter(filter);
        return this;
    }
<p>
A filter to apply to the list.
</p>

@param filter
       A filter to apply to the list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/ListReadSetsRequest.java