public CreateConnectorRequest withPlugins(Plugin... plugins) {
        if (this.plugins == null) {
            setPlugins(new java.util.ArrayList<Plugin>(plugins.length));
        }
        for (Plugin ele : plugins) {
            this.plugins.add(ele);
        }
        return this;
    }
<important>
<p>
Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin
for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins
together.
</p>
</important>
<p>
Specifies which plugin to use for the connector. You must specify a single-element list containing one
<code>customPlugin</code> object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPlugins(java.util.Collection)} or {@link #withPlugins(java.util.Collection)} if you want to override
the existing values.
</p>

@param plugins
       <p>
       Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one
       plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple
       plugins together.
       </p>
       </important>
       <p>
       Specifies which plugin to use for the connector. You must specify a single-element list containing one
       <code>customPlugin</code> object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafkaconnect/src/main/java/com/amazonaws/services/kafkaconnect/model/CreateConnectorRequest.java