Class ModifyCustomWhiteRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.waf.v20180125.models.ModifyCustomWhiteRuleRequest
-
public class ModifyCustomWhiteRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyCustomWhiteRuleRequest()
ModifyCustomWhiteRuleRequest(ModifyCustomWhiteRuleRequest 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 String
getBypass()
Get 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。String
getDomain()
Get 编辑的域名Long
getExpireTime()
Get 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。Long
getRuleId()
Get 编辑的规则IDString
getRuleName()
Get 编辑的规则名称Long
getSortId()
Get 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。Strategy[]
getStrategies()
Get 匹配条件数组void
setBypass(String Bypass)
Set 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。void
setDomain(String Domain)
Set 编辑的域名void
setExpireTime(Long ExpireTime)
Set 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。void
setRuleId(Long RuleId)
Set 编辑的规则IDvoid
setRuleName(String RuleName)
Set 编辑的规则名称void
setSortId(Long SortId)
Set 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。void
setStrategies(Strategy[] Strategies)
Set 匹配条件数组void
toMap(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
-
ModifyCustomWhiteRuleRequest
public ModifyCustomWhiteRuleRequest()
-
ModifyCustomWhiteRuleRequest
public ModifyCustomWhiteRuleRequest(ModifyCustomWhiteRuleRequest 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
- 编辑的域名
-
getRuleId
public Long getRuleId()
Get 编辑的规则ID- Returns:
- RuleId 编辑的规则ID
-
setRuleId
public void setRuleId(Long RuleId)
Set 编辑的规则ID- Parameters:
RuleId
- 编辑的规则ID
-
getRuleName
public String getRuleName()
Get 编辑的规则名称- Returns:
- RuleName 编辑的规则名称
-
setRuleName
public void setRuleName(String RuleName)
Set 编辑的规则名称- Parameters:
RuleName
- 编辑的规则名称
-
getBypass
public String getBypass()
Get 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。- Returns:
- Bypass 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。
-
setBypass
public void setBypass(String Bypass)
Set 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。- Parameters:
Bypass
- 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。
-
getSortId
public Long getSortId()
Get 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。- Returns:
- SortId 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。
-
setSortId
public void setSortId(Long SortId)
Set 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。- Parameters:
SortId
- 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。
-
getExpireTime
public Long getExpireTime()
Get 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。- Returns:
- ExpireTime 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。
-
setExpireTime
public void setExpireTime(Long ExpireTime)
Set 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。- Parameters:
ExpireTime
- 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。
-
getStrategies
public Strategy[] getStrategies()
Get 匹配条件数组- Returns:
- Strategies 匹配条件数组
-
setStrategies
public void setStrategies(Strategy[] Strategies)
Set 匹配条件数组- Parameters:
Strategies
- 匹配条件数组
-
-