public CreateConnectorDefinitionVersionRequest withConnectors(Connector... connectors) {
        if (this.connectors == null) {
            setConnectors(new java.util.ArrayList<Connector>(connectors.length));
        }
        for (Connector ele : connectors) {
            this.connectors.add(ele);
        }
        return this;
    }
A list of references to connectors in this version, with their corresponding configuration settings.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setConnectors(java.util.Collection)} or {@link #withConnectors(java.util.Collection)} if you want to
override the existing values.
</p>

@param connectors
       A list of references to connectors in this version, with their corresponding configuration settings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/CreateConnectorDefinitionVersionRequest.java