public class ModifySecurityWafGroupPolicyRequest extends AbstractModel
Constructor and Description |
---|
ModifySecurityWafGroupPolicyRequest() |
ModifySecurityWafGroupPolicyRequest(ModifySecurityWafGroupPolicyRequest 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 |
---|---|
AiRule |
getAiRule()
Get AI引擎模式。不填默认为上次的配置。
|
String |
getEntity()
Get 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
String |
getLevel()
Get 规则等级,取值有:
loose:宽松;
normal:正常;
strict:严格;
stricter:超严格;
custom:自定义。不填默认为上次的配置。
|
String |
getMode()
Get 处置方式,取值有:
block:阻断;
observe:观察。不填默认为上次的配置。
|
String |
getSwitch()
Get 总开关,取值有:
on:开启;
off:关闭。不填默认为上次的配置。
|
String |
getTemplateId()
Get 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
WafGroup[] |
getWafGroups()
Get 托管规则等级组。不填默认为上次的配置。
|
WafRule |
getWafRules()
Get 托管规则。不填默认为上次的配置。
|
String |
getZoneId()
Get 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
void |
setAiRule(AiRule AiRule)
Set AI引擎模式。不填默认为上次的配置。
|
void |
setEntity(String Entity)
Set 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
void |
setLevel(String Level)
Set 规则等级,取值有:
loose:宽松;
normal:正常;
strict:严格;
stricter:超严格;
custom:自定义。不填默认为上次的配置。
|
void |
setMode(String Mode)
Set 处置方式,取值有:
block:阻断;
observe:观察。不填默认为上次的配置。
|
void |
setSwitch(String Switch)
Set 总开关,取值有:
on:开启;
off:关闭。不填默认为上次的配置。
|
void |
setTemplateId(String TemplateId)
Set 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
void |
setWafGroups(WafGroup[] WafGroups)
Set 托管规则等级组。不填默认为上次的配置。
|
void |
setWafRules(WafRule WafRules)
Set 托管规则。不填默认为上次的配置。
|
void |
setZoneId(String ZoneId)
Set 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
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 ModifySecurityWafGroupPolicyRequest()
public ModifySecurityWafGroupPolicyRequest(ModifySecurityWafGroupPolicyRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。public String getEntity()
public void setEntity(String Entity)
Entity
- 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。public String getSwitch()
public void setSwitch(String Switch)
Switch
- 总开关,取值有:
public String getLevel()
public void setLevel(String Level)
Level
- 规则等级,取值有:
public String getMode()
public void setMode(String Mode)
Mode
- 处置方式,取值有:
public WafRule getWafRules()
public void setWafRules(WafRule WafRules)
WafRules
- 托管规则。不填默认为上次的配置。public AiRule getAiRule()
public void setAiRule(AiRule AiRule)
AiRule
- AI引擎模式。不填默认为上次的配置。public WafGroup[] getWafGroups()
public void setWafGroups(WafGroup[] WafGroups)
WafGroups
- 托管规则等级组。不填默认为上次的配置。public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。Copyright © 2022. All rights reserved.