public UpdateConnectorRequest withCurrentVersion(String currentVersion) {
        setCurrentVersion(currentVersion);
        return this;
    }
<p>
The current version of the connector that you want to update.
</p>

@param currentVersion
       The current version of the connector that you want to update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafkaconnect/src/main/java/com/amazonaws/services/kafkaconnect/model/UpdateConnectorRequest.java