public ResourceDefinition getResource() {
    return m_resource;
  }
Obtain the resource definition associated with the query.

@return associated resource definition
ambari-server/src/main/java/org/apache/ambari/server/api/query/QueryInfo.java