ModuleBuilder extends AbstractBuilder<ModuleConfig, ModuleBuilder> { public ModuleBuilder monitor(MonitorConfig monitor) { this.monitor = monitor; return getThis(); }  ModuleBuilder name(String name); ModuleBuilder version(String version); ModuleBuilder owner(String owner); ModuleBuilder organization(String organization); ModuleBuilder addRegistries(List<? extends RegistryConfig> registries); ModuleBuilder addRegistry(RegistryConfig registry); ModuleBuilder monitor(MonitorConfig monitor); ModuleBuilder isDefault(Boolean isDefault); ModuleConfig build();  }
@Test void monitor() { MonitorConfig monitor = new MonitorConfig(); ModuleBuilder builder = new ModuleBuilder(); builder.monitor(monitor); Assertions.assertSame(monitor, builder.build().getMonitor()); }