private void initProperties(Map<String, Object> extendedProperties) {
      for (Map.Entry<String, Object> entry : extendedProperties.entrySet()) {
        setProperty(entry.getKey(), entry.getValue());
      }
    }
Initialize this resource by setting the extended properties.
ambari-server/src/main/java/org/apache/ambari/server/api/query/ExtendedResourcePredicateVisitor.java