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

@param notDeviceTypes
       Device types that the updated rule <b>will not</b> match. All other device types 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/UpdateMobileDeviceAccessRuleRequest.java