public Connector withCapabilityList(String... capabilityList) {
        if (this.capabilityList == null) {
            setCapabilityList(new java.util.ArrayList<String>(capabilityList.length));
        }
        for (String ele : capabilityList) {
            this.capabilityList.add(ele);
        }
        return this;
    }
<p>
The capabilities of the connector.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCapabilityList(java.util.Collection)} or {@link #withCapabilityList(java.util.Collection)} if you want
to override the existing values.
</p>

@param capabilityList
       The capabilities of the connector.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectorCapability
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/Connector.java