public class WafRule extends AbstractModel
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不再生效。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
|
Long[] |
getObserveRuleIDs()
Get 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 托管规则开关。 on为开启
|
void |
setBlockRuleIDs(Long[] BlockRuleIDs)
Set 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
|
void |
setObserveRuleIDs(Long[] ObserveRuleIDs)
Set 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 托管规则开关。 on为开启
|
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 WafRule()
public WafRule(WafRule source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 托管规则开关。 on为开启public Long[] getBlockRuleIDs()
public void setBlockRuleIDs(Long[] BlockRuleIDs)
BlockRuleIDs
- 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。public Long[] getObserveRuleIDs()
public void setObserveRuleIDs(Long[] ObserveRuleIDs)
ObserveRuleIDs
- 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityPolicyManagedRules](https://tcloud4api.woa.com/document/product/1657/76030?!preview&!document=1)。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.