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

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

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