public ListWebhooksResult withWebhooks(ListWebhookItem... webhooks) {
        if (this.webhooks == null) {
            setWebhooks(new java.util.ArrayList<ListWebhookItem>(webhooks.length));
        }
        for (ListWebhookItem ele : webhooks) {
            this.webhooks.add(ele);
        }
        return this;
    }
<p>
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWebhooks(java.util.Collection)} or {@link #withWebhooks(java.util.Collection)} if you want to override
the existing values.
</p>

@param webhooks
       The JSON detail returned for each webhook in the list output for the ListWebhooks call.
@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/ListWebhooksResult.java