class MonitorBuilder extends AbstractBuilder<MonitorConfig, MonitorBuilder> {

    public MonitorConfig build() {
        MonitorConfig monitorConfig = new MonitorConfig();
        super.build(monitorConfig);

        monitorConfig.setProtocol(protocol);
        monitorConfig.setAddress(address);
        monitorConfig.setUsername(username);
        monitorConfig.setPassword(password);
        monitorConfig.setGroup(group);
        monitorConfig.setVersion(version);
        monitorConfig.setInterval(interval);
        monitorConfig.setParameters(parameters);
        monitorConfig.setDefault(isDefault);

        return monitorConfig;
    }

}