public WorkSpaceApplication withSupportedOperatingSystemNames(String... supportedOperatingSystemNames) {
        if (this.supportedOperatingSystemNames == null) {
            setSupportedOperatingSystemNames(new com.amazonaws.internal.SdkInternalList<String>(supportedOperatingSystemNames.length));
        }
        for (String ele : supportedOperatingSystemNames) {
            this.supportedOperatingSystemNames.add(ele);
        }
        return this;
    }
<p>
The supported operating systems of the WorkSpace application.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedOperatingSystemNames(java.util.Collection)} or
{@link #withSupportedOperatingSystemNames(java.util.Collection)} if you want to override the existing values.
</p>

@param supportedOperatingSystemNames
       The supported operating systems of the WorkSpace application.
@return Returns a reference to this object so that method calls can be chained together.
@see OperatingSystemName
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/WorkSpaceApplication.java