public ApplicationComponent withOsType(OsType osType) {
        this.osType = osType.toString();
        return this;
    }
<p>
The operating system of the component.
</p>

@param osType
       The operating system of the component.
@return Returns a reference to this object so that method calls can be chained together.
@see OsType
aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/ApplicationComponent.java