public UpdateMobileDeviceAccessRuleRequest withDeviceModels(java.util.Collection<String> deviceModels) {
        setDeviceModels(deviceModels);
        return this;
    }
<p>
Device models that the updated rule will match.
</p>

@param deviceModels
       Device models that the updated rule 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