class MongoDbUriSupplier implements Supplier<String> {

    static MongoDbUriSupplier of(final Config mongoDbConfig) {
        validate(mongoDbConfig);

        return new MongoDbUriSupplier(mongoDbConfig, tryToGetMongoDbSourceUri(mongoDbConfig.getString(URI_CONFIG_PATH)));
    }

    private  MongoDbUriSupplier(final Config theMongoDbConfig, final URI theMongoDbSourceUri);

}