public void setFilter(EndpointFilter filter) {
        this.filter = filter;
    }
<p>
Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the date and
time that they were created. You can only set one filter at a time.
</p>

@param filter
       Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the
       date and time that they were created. You can only set one filter at a time.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/ListEndpointsRequest.java