public CreateWorkspaceImageResult withOperatingSystem(OperatingSystem operatingSystem) {
        setOperatingSystem(operatingSystem);
        return this;
    }
<p>
The operating system that the image is running.
</p>

@param operatingSystem
       The operating system that the image is running.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/CreateWorkspaceImageResult.java