public class WafSubRuleStatus extends AbstractModel
header, skipSign
Constructor and Description |
---|
WafSubRuleStatus() |
WafSubRuleStatus(WafSubRuleStatus 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[] |
getSubIds()
Get List of rule IDs
|
String |
getSwitch()
Get Whether to enable WAF sub-rules.
|
void |
setSubIds(Long[] SubIds)
Set List of rule IDs
|
void |
setSwitch(String Switch)
Set Whether to enable WAF sub-rules.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public WafSubRuleStatus()
public WafSubRuleStatus(WafSubRuleStatus source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable WAF sub-rules. Values:
`on`: Enable
`off`: Disablepublic Long[] getSubIds()
public void setSubIds(Long[] SubIds)
SubIds
- List of rule IDsCopyright © 2024. All rights reserved.