class ApplicationBuilder extends AbstractBuilder<ApplicationConfig, ApplicationBuilder> {

    public ApplicationBuilder addRegistry(RegistryConfig registry) {
        if (this.registries == null) {
            this.registries = new ArrayList<>();
        }
        this.registries.add(registry);
        return getThis();
    }

}