public void setConnectorModes(java.util.Collection<String> connectorModes) {
        if (connectorModes == null) {
            this.connectorModes = null;
            return;
        }

        this.connectorModes = new java.util.ArrayList<String>(connectorModes);
    }
<p>
The connection modes that the connector supports.
</p>

@param connectorModes
       The connection modes that the connector supports.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/ConnectorConfiguration.java