public ConnectorConfiguration withConnectorName(String connectorName) {
        setConnectorName(connectorName);
        return this;
    }
<p>
The connector name.
</p>

@param connectorName
       The connector name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/ConnectorConfiguration.java