public void setWebhooks(java.util.Collection<ListWebhookItem> webhooks) {
        if (webhooks == null) {
            this.webhooks = null;
            return;
        }

        this.webhooks = new java.util.ArrayList<ListWebhookItem>(webhooks);
    }
<p>
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
</p>

@param webhooks
       The JSON detail returned for each webhook in the list output for the ListWebhooks call.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ListWebhooksResult.java