public void setSwitchConfig(final SwitchConfig switchConfig) {
        this.switchConfig = switchConfig;
    }
Sets switch config.

@param switchConfig the switch config
shenyu-common/src/main/java/org/apache/shenyu/common/config/ShenyuConfig.java