public void setUpstreamCheck(final UpstreamCheck upstreamCheck) {
        this.upstreamCheck = upstreamCheck;
    }
Sets upstream check.

@param upstreamCheck the upstream check
shenyu-common/src/main/java/org/apache/shenyu/common/config/ShenyuConfig.java