public DestinationFlowConfig withConnectorType(ConnectorType connectorType) {
        this.connectorType = connectorType.toString();
        return this;
    }
<p>
The type of connector, such as Salesforce, Amplitude, and so on.
</p>

@param connectorType
       The type of connector, such as Salesforce, Amplitude, and so on.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectorType
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/DestinationFlowConfig.java