@Override
  public ResourceInstance getResource() {
    return m_resource;
  }
Constructor.

@param headers           http headers
@param body              http body
@param uriInfo           uri information
@param resource          associated resource definition
ambari-server/src/main/java/org/apache/ambari/server/api/services/BaseRequest.java