public class ModifySpartaProtectionModeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifySpartaProtectionModeRequest() |
ModifySpartaProtectionModeRequest(ModifySpartaProtectionModeRequest 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 |
---|---|
String |
getDomain()
Get Domain name
|
String |
getEdition()
Get Version of WAF.
|
Long |
getMode()
Get Protection status:
10: rule-based observation and AI disabling; 11: rule- and AI-based observation; 12: rule-based observation and AI-based interception
20: rule-based interception and AI disabling; 21: rule-based interception and AI-based observation; 22: rule- and AI-based interception
|
Long |
getType()
Get 0 is for modifying the Rule Engine Status; 1 is for modifying the AI Status
|
void |
setDomain(String Domain)
Set Domain name
|
void |
setEdition(String Edition)
Set Version of WAF.
|
void |
setMode(Long Mode)
Set Protection status:
10: rule-based observation and AI disabling; 11: rule- and AI-based observation; 12: rule-based observation and AI-based interception
20: rule-based interception and AI disabling; 21: rule-based interception and AI-based observation; 22: rule- and AI-based interception
|
void |
setType(Long Type)
Set 0 is for modifying the Rule Engine Status; 1 is for modifying the AI Status
|
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 ModifySpartaProtectionModeRequest()
public ModifySpartaProtectionModeRequest(ModifySpartaProtectionModeRequest source)
public String getDomain()
public void setDomain(String Domain)
Domain
- Domain namepublic Long getMode()
public void setMode(Long Mode)
Mode
- Protection status:
10: rule-based observation and AI disabling; 11: rule- and AI-based observation; 12: rule-based observation and AI-based interception
20: rule-based interception and AI disabling; 21: rule-based interception and AI-based observation; 22: rule- and AI-based interceptionpublic String getEdition()
public void setEdition(String Edition)
Edition
- Version of WAF. clb-waf indicates CLB WAF; sparta-waf indicates SaaS WAF. sparta-waf by default.public Long getType()
public void setType(Long Type)
Type
- 0 is for modifying the Rule Engine Status; 1 is for modifying the AI StatusCopyright © 2025. All rights reserved.