public CreateMobileDeviceAccessRuleRequest withNotDeviceOperatingSystems(String... notDeviceOperatingSystems) {
        if (this.notDeviceOperatingSystems == null) {
            setNotDeviceOperatingSystems(new java.util.ArrayList<String>(notDeviceOperatingSystems.length));
        }
        for (String ele : notDeviceOperatingSystems) {
            this.notDeviceOperatingSystems.add(ele);
        }
        return this;
    }
<p>
Device operating systems that the rule <b>will not</b> match. All other device operating systems will match.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNotDeviceOperatingSystems(java.util.Collection)} or
{@link #withNotDeviceOperatingSystems(java.util.Collection)} if you want to override the existing values.
</p>

@param notDeviceOperatingSystems
       Device operating systems that the rule <b>will not</b> match. All other device operating systems will
       match.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/CreateMobileDeviceAccessRuleRequest.java