code: public CentralDogma build() throws UnknownHostException {
          final Endpoint endpoint = endpoint();
          final String scheme = "tbinary+" + (isUseTls() ? "https" : "http") + "://";
          final String uri = scheme + endpoint.authority() + "/cd/thrift/v1";
          final ClientBuilder builder =
                  newClientBuilder(uri, cb -> cb.decorator(HttpDecodingClient.newDecorator())
                                                .rpcDecorator(LegacyCentralDogmaTimeoutScheduler::new));
  
          final String authorization = "Bearer " + accessToken();
          builder.decorator((delegate, ctx, req) -> {
              if (!req.headers().contains(HttpHeaderNames.AUTHORIZATION)) {
                  // To prevent CSRF attack, we add 'Authorization' header to every request.
                  req.headers().set(HttpHeaderNames.AUTHORIZATION, authorization);
              }
              return delegate.execute(ctx, req);
          });
          return new LegacyCentralDogma(clientFactory().eventLoopGroup(),
                                        builder.build(CentralDogmaService.AsyncIface.class));
      }
docs: Returns a newly-created {@link CentralDogma} instance.
  
  @throws UnknownHostException if failed to resolve the host names from the DNS servers