Class ModifyWafAutoDenyRulesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.waf.v20180125.models.ModifyWafAutoDenyRulesRequest
-
public class ModifyWafAutoDenyRulesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyWafAutoDenyRulesRequest()ModifyWafAutoDenyRulesRequest(ModifyWafAutoDenyRulesRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAttackThreshold()Get 触发IP封禁的攻击次数阈值,范围为2~100次LonggetDefenseStatus()Get 自动封禁状态,0表示关闭,1表示打开LonggetDenyTimeThreshold()Get 触发IP封禁后的封禁时间,范围为5~360分钟StringgetDomain()Get 域名LonggetTimeThreshold()Get IP封禁统计时间,范围为1-60分钟voidsetAttackThreshold(Long AttackThreshold)Set 触发IP封禁的攻击次数阈值,范围为2~100次voidsetDefenseStatus(Long DefenseStatus)Set 自动封禁状态,0表示关闭,1表示打开voidsetDenyTimeThreshold(Long DenyTimeThreshold)Set 触发IP封禁后的封禁时间,范围为5~360分钟voidsetDomain(String Domain)Set 域名voidsetTimeThreshold(Long TimeThreshold)Set IP封禁统计时间,范围为1-60分钟voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ModifyWafAutoDenyRulesRequest
public ModifyWafAutoDenyRulesRequest()
-
ModifyWafAutoDenyRulesRequest
public ModifyWafAutoDenyRulesRequest(ModifyWafAutoDenyRulesRequest 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.
-
-
Method Detail
-
getDomain
public String getDomain()
Get 域名- Returns:
- Domain 域名
-
setDomain
public void setDomain(String Domain)
Set 域名- Parameters:
Domain- 域名
-
getAttackThreshold
public Long getAttackThreshold()
Get 触发IP封禁的攻击次数阈值,范围为2~100次- Returns:
- AttackThreshold 触发IP封禁的攻击次数阈值,范围为2~100次
-
setAttackThreshold
public void setAttackThreshold(Long AttackThreshold)
Set 触发IP封禁的攻击次数阈值,范围为2~100次- Parameters:
AttackThreshold- 触发IP封禁的攻击次数阈值,范围为2~100次
-
getTimeThreshold
public Long getTimeThreshold()
Get IP封禁统计时间,范围为1-60分钟- Returns:
- TimeThreshold IP封禁统计时间,范围为1-60分钟
-
setTimeThreshold
public void setTimeThreshold(Long TimeThreshold)
Set IP封禁统计时间,范围为1-60分钟- Parameters:
TimeThreshold- IP封禁统计时间,范围为1-60分钟
-
getDenyTimeThreshold
public Long getDenyTimeThreshold()
Get 触发IP封禁后的封禁时间,范围为5~360分钟- Returns:
- DenyTimeThreshold 触发IP封禁后的封禁时间,范围为5~360分钟
-
setDenyTimeThreshold
public void setDenyTimeThreshold(Long DenyTimeThreshold)
Set 触发IP封禁后的封禁时间,范围为5~360分钟- Parameters:
DenyTimeThreshold- 触发IP封禁后的封禁时间,范围为5~360分钟
-
getDefenseStatus
public Long getDefenseStatus()
Get 自动封禁状态,0表示关闭,1表示打开- Returns:
- DefenseStatus 自动封禁状态,0表示关闭,1表示打开
-
setDefenseStatus
public void setDefenseStatus(Long DefenseStatus)
Set 自动封禁状态,0表示关闭,1表示打开- Parameters:
DefenseStatus- 自动封禁状态,0表示关闭,1表示打开
-
-