public class WafRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
WafRule() |
WafRule(WafRule 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 |
---|---|
Long[] |
getBlockRuleIDs()
Get 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。
|
Long[] |
getObserveRuleIDs()
Get 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
|
String |
getSwitch()
Get 托管规则开关,取值有:
on:开启;
off:关闭。
|
void |
setBlockRuleIDs(Long[] BlockRuleIDs)
Set 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。
|
void |
setObserveRuleIDs(Long[] ObserveRuleIDs)
Set 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
|
void |
setSwitch(String Switch)
Set 托管规则开关,取值有:
on:开启;
off:关闭。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public WafRule()
public WafRule(WafRule source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 托管规则开关,取值有:
public Long[] getBlockRuleIDs()
public void setBlockRuleIDs(Long[] BlockRuleIDs)
BlockRuleIDs
- 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。public Long[] getObserveRuleIDs()
public void setObserveRuleIDs(Long[] ObserveRuleIDs)
ObserveRuleIDs
- 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。Copyright © 2024. All rights reserved.