public CreateWebhookRequest withFilterGroups(java.util.List<WebhookFilter>... filterGroups) {
        if (this.filterGroups == null) {
            setFilterGroups(new java.util.ArrayList<java.util.List<WebhookFilter>>(filterGroups.length));
        }
        for (java.util.List<WebhookFilter> ele : filterGroups) {
            this.filterGroups.add(ele);
        }
        return this;
    }
public CreateWebhookRequest withFilterGroups ( java . util . List < WebhookFilter > ... filterGroups ) { if ( this . filterGroups == null ) { setFilterGroups ( new java . util . ArrayList < java . util . List < WebhookFilter > > ( filterGroups . length ) ) ; } for ( java . util . List < WebhookFilter > ele : filterGroups ) { this . filterGroups . add ( ele ) ; } return this ; }
<p>
An array of arrays of <code>WebhookFilter</code> objects used to determine which webhooks are triggered. At least
one <code>WebhookFilter</code> in the array must specify <code>EVENT</code> as its <code>type</code>.
</p>
<p>
For a build to be triggered, at least one filter group in the <code>filterGroups</code> array must pass. For a
filter group to pass, each of its filters must pass.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFilterGroups(java.util.Collection)} or {@link #withFilterGroups(java.util.Collection)} if you want to
override the existing values.
</p>

@param filterGroups
An array of arrays of <code>WebhookFilter</code> objects used to determine which webhooks are triggered.
At least one <code>WebhookFilter</code> in the array must specify <code>EVENT</code> as its
<code>type</code>. </p>
<p>
For a build to be triggered, at least one filter group in the <code>filterGroups</code> array must pass.
For a filter group to pass, each of its filters must pass.
@return Returns a reference to this object so that method calls can be chained together.