public RegisterConfig build() {
            RegisterConfig registerConfig = new RegisterConfig();
            registerConfig.setEnabled(enabled);
            registerConfig.setRegisterType(registerType);
            registerConfig.setServerLists(serverLists);
            registerConfig.setProps(props);
            return registerConfig;
        }
build.

@return Builder instance register dto
shenyu-registry/shenyu-registry-api/src/main/java/org/apache/shenyu/registry/api/config/RegisterConfig.java