public Connector withCapabilityList(ConnectorCapability... capabilityList) {
        java.util.ArrayList<String> capabilityListCopy = new java.util.ArrayList<String>(capabilityList.length);
        for (ConnectorCapability value : capabilityList) {
            capabilityListCopy.add(value.toString());
        }
        if (getCapabilityList() == null) {
            setCapabilityList(capabilityListCopy);
        } else {
            getCapabilityList().addAll(capabilityListCopy);
        }
        return this;
    }
<p>
The capabilities of the connector.
</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