MonitorBuilder extends AbstractBuilder<MonitorConfig, MonitorBuilder> { public MonitorBuilder isDefault(Boolean isDefault) { this.isDefault = isDefault; 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 isDefault() { MonitorBuilder builder = new MonitorBuilder(); builder.isDefault(true); Assertions.assertTrue(builder.build().isDefault()); }