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 域名
|
String |
getEdition()
Get WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
Long |
getMode()
Get 防护状态:
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式
20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式
|
Long |
getType()
Get 0是修改规则引擎状态,1是修改AI的状态
|
void |
setDomain(String Domain)
Set 域名
|
void |
setEdition(String Edition)
Set WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
|
void |
setMode(Long Mode)
Set 防护状态:
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式
20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式
|
void |
setType(Long Type)
Set 0是修改规则引擎状态,1是修改AI的状态
|
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
- 域名public Long getMode()
public void setMode(Long Mode)
Mode
- 防护状态:
10:规则观察&&AI关闭模式,11:规则观察&&AI观察模式,12:规则观察&&AI拦截模式
20:规则拦截&&AI关闭模式,21:规则拦截&&AI观察模式,22:规则拦截&&AI拦截模式public String getEdition()
public void setEdition(String Edition)
Edition
- WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。public Long getType()
public void setType(Long Type)
Type
- 0是修改规则引擎状态,1是修改AI的状态Copyright © 2024. All rights reserved.