public static BlueprintClusterBinding fromHostGroupHostMap(Map<String, Set<String>> hostGroupHosts) {
      Set<BindingHostGroup> hostGroups = hostGroupHosts.entrySet().stream()
        .map(entry -> BindingHostGroup.create(entry.getKey(), entry.getValue()))
        .collect(toSet());
      BlueprintClusterBinding binding = new BlueprintClusterBinding();
      binding.setHostGroups(hostGroups);
      return binding;
    }
@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