public void setMode(final String mode) {
        this.mode = mode;
    }
Sets mode.

@param mode the mode
shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-token-limiter/src/main/java/org/apache/shenyu/plugin/ai/token/limiter/redis/RedisConfigProperties.java