public StartMiniClusterOption build() {
      if (dataNodeHosts != null && dataNodeHosts.length != 0) {
        numDataNodes = dataNodeHosts.length;
      }
      return new StartMiniClusterOption(numMasters, numAlwaysStandByMasters, masterClass,
        numRegionServers, rsPorts, rsClass, numDataNodes, dataNodeHosts, numZkServers,
        createRootDir, createWALDir);
    }
Builder pattern for creating an {@link StartMiniClusterOption}. The default values of its
fields should be considered public and constant. Changing the default values may cause other
tests fail.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/StartMiniClusterOption.java