public GetEventSourceMappingResult withFilterCriteria(FilterCriteria filterCriteria) {
        setFilterCriteria(filterCriteria);
        return this;
    }
<p>
An object that defines the filter criteria that determine whether Lambda should process an event. For more
information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda
event filtering</a>.
</p>

@param filterCriteria
       An object that defines the filter criteria that determine whether Lambda should process an event. For more
       information, see <a
       href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event
       filtering</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/GetEventSourceMappingResult.java