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 The settings of the AI rule engine.
|
String |
getEntity()
Get The subdomain name.
|
String |
getLevel()
Get The rule level.
|
String |
getMode()
Get The rule action.
|
String |
getSwitch()
Get Switch.
|
String |
getTemplateId()
Get The template ID.
|
WafGroup[] |
getWafGroups()
Get The settings of the managed rule group.
|
WafRule |
getWafRules()
Get The settings of the managed rule.
|
String |
getZoneId()
Get The site ID.
|
void |
setAiRule(AiRule AiRule)
Set The settings of the AI rule engine.
|
void |
setEntity(String Entity)
Set The subdomain name.
|
void |
setLevel(String Level)
Set The rule level.
|
void |
setMode(String Mode)
Set The rule action.
|
void |
setSwitch(String Switch)
Set Switch.
|
void |
setTemplateId(String TemplateId)
Set The template ID.
|
void |
setWafGroups(WafGroup[] WafGroups)
Set The settings of the managed rule group.
|
void |
setWafRules(WafRule WafRules)
Set The settings of the managed rule.
|
void |
setZoneId(String ZoneId)
Set The site ID.
|
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
- The site ID. You must specify either "ZoneId+Entity" or "TemplateId".public String getEntity()
public void setEntity(String Entity)
Entity
- The subdomain name. You must specify either "ZoneId+Entity" or "TemplateId".public String getSwitch()
public void setSwitch(String Switch)
Switch
- Switch. Values:
public String getLevel()
public void setLevel(String Level)
Level
- The rule level. Values:
public String getMode()
public void setMode(String Mode)
Mode
- The rule action. Values:
public WafRule getWafRules()
public void setWafRules(WafRule WafRules)
WafRules
- The settings of the managed rule. If not specified, it defaults to the settings that were last configured.public AiRule getAiRule()
public void setAiRule(AiRule AiRule)
AiRule
- The settings of the AI rule engine. If not specified, it defaults to the settings that were last configured.public WafGroup[] getWafGroups()
public void setWafGroups(WafGroup[] WafGroups)
WafGroups
- The settings of the managed rule group. If not specified, it defaults to the settings that were last configured.public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- The template ID. You must specify either this field or "ZoneId+Entity".Copyright © 2023. All rights reserved.