public static HostsType normal(String... hosts) {
    return new HostsType(emptyList(), new LinkedHashSet<>(asList(hosts)));
  }
Create an instance without high availability hosts.
ambari-server/src/main/java/org/apache/ambari/server/stack/HostsType.java