MonitorBuilder extends AbstractBuilder<MonitorConfig, MonitorBuilder> { public MonitorBuilder password(String password) { this.password = password; return getThis(); }  MonitorBuilder protocol(String protocol); MonitorBuilder address(String address); MonitorBuilder username(String username); MonitorBuilder password(String password); MonitorBuilder group(String group); MonitorBuilder version(String version); MonitorBuilder interval(String interval); MonitorBuilder isDefault(Boolean isDefault); MonitorBuilder appendParameter(String key, String value); MonitorBuilder appendParameters(Map<String, String> appendParameters); MonitorConfig build();  }
@Test void password() { MonitorBuilder builder = new MonitorBuilder(); builder.password("password"); Assertions.assertEquals("password", builder.build().getPassword()); }