public UpdateApplicationRequest withCurrentApplicationVersion(Integer currentApplicationVersion) {
        setCurrentApplicationVersion(currentApplicationVersion);
        return this;
    }
<p>
The current version of the application to update.
</p>

@param currentApplicationVersion
       The current version of the application to update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/UpdateApplicationRequest.java