public ImportVmImageRequest withOsVersion(String osVersion) {
        setOsVersion(osVersion);
        return this;
    }
<p>
The operating system version for the imported VM.
</p>

@param osVersion
       The operating system version for the imported VM.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ImportVmImageRequest.java