I would prefer to have a method:

public static Config setConfig(Config config) {
}

not a getConfig method. After all the Config object is easily instantiated by the user