public ListAssessmentRunAgentsRequest withFilter(AgentFilter filter) {
        setFilter(filter);
        return this;
    }
<p>
You can use this parameter to specify a subset of data to be included in the action's response.
</p>
<p>
For a record to match a filter, all specified filter attributes must match. When multiple values are specified
for a filter attribute, any of the values can match.
</p>

@param filter
       You can use this parameter to specify a subset of data to be included in the action's response.</p>
       <p>
       For a record to match a filter, all specified filter attributes must match. When multiple values are
       specified for a filter attribute, any of the values can match.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/ListAssessmentRunAgentsRequest.java