public static Request getUpdateRequest(Map<String, Object> properties,
                                         Map<String, String> requestInfoProperties) {
    return new RequestImpl(null, Collections.singleton(properties), requestInfoProperties, null);
  }
Factory method to create an update request from the given map of properties.
The properties values in the given map are used to update the resource.

@param properties             resource properties associated with the request; may be null
@param requestInfoProperties  request specific properties; may be null
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PropertyHelper.java