@Override
  public Map<Resource.Type, String> getKeyValueMap() {
    return new HashMap<>((keyValueMap));
  }
Constructor

@param keyValueMap         the map of key values
@param resourceDefinition  the resource definition
@param clusterController   the cluster controller
ambari-server/src/main/java/org/apache/ambari/server/api/query/QueryImpl.java