public DestinationFlowConfig withApiVersion(String apiVersion) {
        setApiVersion(apiVersion);
        return this;
    }
<p>
The API version that the destination connector uses.
</p>

@param apiVersion
       The API version that the destination connector uses.
@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/DestinationFlowConfig.java