public static HostsType federated(List<HighAvailabilityHosts> highAvailabilityHosts, LinkedHashSet<String> hosts) {
    return new HostsType(highAvailabilityHosts, hosts);
  }
Create an instance with multiple high availability hosts.
ambari-server/src/main/java/org/apache/ambari/server/stack/HostsType.java