public TargetPlatform withOs(TargetPlatformOs os) {
        this.os = os.toString();
        return this;
    }
<p>
The target operating system for the model. Linux is the only operating system that is currently supported.
</p>

@param os
       The target operating system for the model. Linux is the only operating system that is currently supported.
@return Returns a reference to this object so that method calls can be chained together.
@see TargetPlatformOs
aws-java-sdk-lookoutforvision/src/main/java/com/amazonaws/services/lookoutforvision/model/TargetPlatform.java