public ClientFactoryBuilder addressResolverGroupFactory(
            Function<? super EventLoopGroup,
                    ? extends AddressResolverGroup<? extends InetSocketAddress>> addressResolverGroupFactory) {
        requireNonNull(addressResolverGroupFactory, "addressResolverGroupFactory");
        checkState(dnsResolverGroupCustomizer == null,
                   "addressResolverGroupFactory() and domainNameResolverCustomizer() are mutually exclusive.");
        option(ClientFactoryOptions.ADDRESS_RESOLVER_GROUP_FACTORY, addressResolverGroupFactory);
        return this;
    }
Sets the factory that creates a {@link AddressResolverGroup} which resolves remote addresses into
{@link InetSocketAddress}es.

@throws IllegalStateException if {@link #domainNameResolverCustomizer(Consumer)} was called already.
core/src/main/java/com/linecorp/armeria/client/ClientFactoryBuilder.java