public EnvironmentFactoryBuilder withConfigResolver ( EnvironmentConfigResolver configResolver ) { checkState ( ! this . configResolver . isPresent ( ) , "Configuration resolution already set" ) ; return new EnvironmentFactoryBuilder ( backendDomain , client , closer , resolver , Optional . of ( configResolver ) ) ; }
Use custom config resolver .