public void setDeviceModels(java.util.Collection<String> deviceModels) {
        if (deviceModels == null) {
            this.deviceModels = null;
            return;
        }

        this.deviceModels = new java.util.ArrayList<String>(deviceModels);
    }
<p>
Device models that the updated rule will match.
</p>

@param deviceModels
       Device models that the updated rule will match.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/UpdateMobileDeviceAccessRuleRequest.java