public WebhookDefinition withFilters(java.util.Collection<WebhookFilterRule> filters) {
        setFilters(filters);
        return this;
    }
<p>
A list of rules applied to the body/payload sent in the POST request to a webhook URL. All defined rules must
pass for the request to be accepted and the pipeline started.
</p>

@param filters
       A list of rules applied to the body/payload sent in the POST request to a webhook URL. All defined rules
       must pass for the request to be accepted and the pipeline started.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/WebhookDefinition.java