code: public EnvironmentFactoryBuilder withStaticConfig(Config configNode) {
      checkState(!this.configResolver.isPresent(), "Configuration resolution already set");
  
      return new EnvironmentFactoryBuilder(backendDomain, client, closer, resolver,
                                           Optional.of(new StaticConfigResolver(configNode)));
    }
docs: Statically inject a config object into the environment.
  
  Only one of
  {@link #withConfigResolver(EnvironmentConfigResolver)},
  {@link #withStaticConfig(Config)} and
  {@link #withClassLoader(ClassLoader)}
  can be used per builder.
  
  @param configNode  The config object to use.