public class ScdnWafConfig extends AbstractModel
Constructor and Description |
---|
ScdnWafConfig() |
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.
|
Modifier and Type | Method and Description |
---|---|
ScdnErrorPage |
getErrorPage()
Get 重定向的错误页面
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getLevel()
Get waf规则等级,可取100|200|300
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMode()
Get intercept|observe,默认intercept
注意:此字段可能返回 null,表示取不到有效值。
|
ScdnWafRule[] |
getRules()
Get 类型拦截规则
注意:此字段可能返回 null,表示取不到有效值。
|
WafSubRuleStatus[] |
getSubRuleSwitch()
Get waf子规则开关
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get on|off
|
String |
getWebShellSwitch()
Get webshell拦截开关,on|off,默认off
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setErrorPage(ScdnErrorPage ErrorPage)
Set 重定向的错误页面
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setLevel(Long Level)
Set waf规则等级,可取100|200|300
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMode(String Mode)
Set intercept|observe,默认intercept
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRules(ScdnWafRule[] Rules)
Set 类型拦截规则
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSubRuleSwitch(WafSubRuleStatus[] SubRuleSwitch)
Set waf子规则开关
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set on|off
|
void |
setWebShellSwitch(String WebShellSwitch)
Set webshell拦截开关,on|off,默认off
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ScdnWafConfig()
public ScdnWafConfig(ScdnWafConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- on|offpublic String getMode()
public void setMode(String Mode)
Mode
- intercept|observe,默认intercept
注意:此字段可能返回 null,表示取不到有效值。public ScdnErrorPage getErrorPage()
public void setErrorPage(ScdnErrorPage ErrorPage)
ErrorPage
- 重定向的错误页面
注意:此字段可能返回 null,表示取不到有效值。public String getWebShellSwitch()
public void setWebShellSwitch(String WebShellSwitch)
WebShellSwitch
- webshell拦截开关,on|off,默认off
注意:此字段可能返回 null,表示取不到有效值。public ScdnWafRule[] getRules()
public void setRules(ScdnWafRule[] Rules)
Rules
- 类型拦截规则
注意:此字段可能返回 null,表示取不到有效值。public Long getLevel()
public void setLevel(Long Level)
Level
- waf规则等级,可取100|200|300
注意:此字段可能返回 null,表示取不到有效值。public WafSubRuleStatus[] getSubRuleSwitch()
public void setSubRuleSwitch(WafSubRuleStatus[] SubRuleSwitch)
SubRuleSwitch
- waf子规则开关
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.