public static BindingHostGroup create(String name, Set<String> hostNames) {
      BindingHostGroup hostGroup = new BindingHostGroup();
      hostGroup.setName(name);
      Set<Map<String, String>> hosts = hostNames.stream().map(hostName -> ImmutableMap.of("fqdn", hostName)).collect(toSet());
      hostGroup.setHosts(hosts);
      return hostGroup;
    }
@return value attributes in <i>attribute name -> property name -> value</i> format
ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/recommendations/RecommendationResponse.java