Class ScdnWafConfig

    • Constructor Detail

      • ScdnWafConfig

        public ScdnWafConfig()
      • ScdnWafConfig

        public ScdnWafConfig​(ScdnWafConfig source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getSwitch

        public String getSwitch()
        Get Scdn waf配置开关,取值有: on:开启 off:关闭
        Returns:
        Switch Scdn waf配置开关,取值有: on:开启 off:关闭
      • setSwitch

        public void setSwitch​(String Switch)
        Set Scdn waf配置开关,取值有: on:开启 off:关闭
        Parameters:
        Switch - Scdn waf配置开关,取值有: on:开启 off:关闭
      • getMode

        public String getMode()
        Get intercept|observe,默认intercept 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Mode intercept|observe,默认intercept 注意:此字段可能返回 null,表示取不到有效值。
      • setMode

        public void setMode​(String Mode)
        Set intercept|observe,默认intercept 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Mode - intercept|observe,默认intercept 注意:此字段可能返回 null,表示取不到有效值。
      • getErrorPage

        public ScdnErrorPage getErrorPage()
        Get 重定向的错误页面 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ErrorPage 重定向的错误页面 注意:此字段可能返回 null,表示取不到有效值。
      • setErrorPage

        public void setErrorPage​(ScdnErrorPage ErrorPage)
        Set 重定向的错误页面 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ErrorPage - 重定向的错误页面 注意:此字段可能返回 null,表示取不到有效值。
      • getWebShellSwitch

        public String getWebShellSwitch()
        Get webshell拦截配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        WebShellSwitch webshell拦截配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      • setWebShellSwitch

        public void setWebShellSwitch​(String WebShellSwitch)
        Set webshell拦截配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        WebShellSwitch - webshell拦截配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      • getRules

        public ScdnWafRule[] getRules()
        Get 类型拦截规则 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Rules 类型拦截规则 注意:此字段可能返回 null,表示取不到有效值。
      • setRules

        public void setRules​(ScdnWafRule[] Rules)
        Set 类型拦截规则 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Rules - 类型拦截规则 注意:此字段可能返回 null,表示取不到有效值。
      • getLevel

        public Long getLevel()
        Get waf规则等级,可取100|200|300 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Level waf规则等级,可取100|200|300 注意:此字段可能返回 null,表示取不到有效值。
      • setLevel

        public void setLevel​(Long Level)
        Set waf规则等级,可取100|200|300 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Level - waf规则等级,可取100|200|300 注意:此字段可能返回 null,表示取不到有效值。
      • getSubRuleSwitch

        public WafSubRuleStatus[] getSubRuleSwitch()
        Get waf子规则配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        SubRuleSwitch waf子规则配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
      • setSubRuleSwitch

        public void setSubRuleSwitch​(WafSubRuleStatus[] SubRuleSwitch)
        Set waf子规则配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        SubRuleSwitch - waf子规则配置开关,取值有: on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。