public void setDefinition(WebhookDefinition definition) {
        this.definition = definition;
    }
<p>
The detail returned for each webhook, such as the webhook authentication type and filter rules.
</p>

@param definition
       The detail returned for each webhook, such as the webhook authentication type and filter rules.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ListWebhookItem.java