public Component withSupportedOsVersions(java.util.Collection<String> supportedOsVersions) {
        setSupportedOsVersions(supportedOsVersions);
        return this;
    }
<p>
The operating system (OS) version supported by the component. If the OS information is available, Image Builder
performs a prefix match against the base image OS version during image recipe creation.
</p>

@param supportedOsVersions
       The operating system (OS) version supported by the component. If the OS information is available, Image
       Builder performs a prefix match against the base image OS version during image recipe creation.
@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/Component.java