Class ModifyCCFrequencyRulesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dayu.v20180709.models.ModifyCCFrequencyRulesRequest
-
public class ModifyCCFrequencyRulesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyCCFrequencyRulesRequest()ModifyCCFrequencyRulesRequest(ModifyCCFrequencyRulesRequest 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 StringgetAct()Get 执行动作,取值["alg"(人机识别), "drop"(拦截)]StringgetBusiness()Get 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)StringgetCCFrequencyRuleId()Get CC的访问频率控制规则IDStringgetCookie()Get Cookie字符串,长度不超过40LonggetExeDuration()Get 执行时间,单位秒,取值[1-900]StringgetMode()Get 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]LonggetPeriod()Get 统计周期,单位秒,取值[10, 30, 60]LonggetReqNumber()Get 访问次数,取值[1-10000]StringgetUri()Get URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;StringgetUserAgent()Get User-Agent字符串,长度不超过80voidsetAct(String Act)Set 执行动作,取值["alg"(人机识别), "drop"(拦截)]voidsetBusiness(String Business)Set 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)voidsetCCFrequencyRuleId(String CCFrequencyRuleId)Set CC的访问频率控制规则IDvoidsetCookie(String Cookie)Set Cookie字符串,长度不超过40voidsetExeDuration(Long ExeDuration)Set 执行时间,单位秒,取值[1-900]voidsetMode(String Mode)Set 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]voidsetPeriod(Long Period)Set 统计周期,单位秒,取值[10, 30, 60]voidsetReqNumber(Long ReqNumber)Set 访问次数,取值[1-10000]voidsetUri(String Uri)Set URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;voidsetUserAgent(String UserAgent)Set User-Agent字符串,长度不超过80voidtoMap(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
-
ModifyCCFrequencyRulesRequest
public ModifyCCFrequencyRulesRequest()
-
ModifyCCFrequencyRulesRequest
public ModifyCCFrequencyRulesRequest(ModifyCCFrequencyRulesRequest 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
-
getBusiness
public String getBusiness()
Get 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)- Returns:
- Business 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)
-
setBusiness
public void setBusiness(String Business)
Set 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)- Parameters:
Business- 大禹子产品代号(bgpip表示高防IP;net表示高防IP专业版)
-
getCCFrequencyRuleId
public String getCCFrequencyRuleId()
Get CC的访问频率控制规则ID- Returns:
- CCFrequencyRuleId CC的访问频率控制规则ID
-
setCCFrequencyRuleId
public void setCCFrequencyRuleId(String CCFrequencyRuleId)
Set CC的访问频率控制规则ID- Parameters:
CCFrequencyRuleId- CC的访问频率控制规则ID
-
getMode
public String getMode()
Get 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]- Returns:
- Mode 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]
-
setMode
public void setMode(String Mode)
Set 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]- Parameters:
Mode- 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]
-
getPeriod
public Long getPeriod()
Get 统计周期,单位秒,取值[10, 30, 60]- Returns:
- Period 统计周期,单位秒,取值[10, 30, 60]
-
setPeriod
public void setPeriod(Long Period)
Set 统计周期,单位秒,取值[10, 30, 60]- Parameters:
Period- 统计周期,单位秒,取值[10, 30, 60]
-
getReqNumber
public Long getReqNumber()
Get 访问次数,取值[1-10000]- Returns:
- ReqNumber 访问次数,取值[1-10000]
-
setReqNumber
public void setReqNumber(Long ReqNumber)
Set 访问次数,取值[1-10000]- Parameters:
ReqNumber- 访问次数,取值[1-10000]
-
getAct
public String getAct()
Get 执行动作,取值["alg"(人机识别), "drop"(拦截)]- Returns:
- Act 执行动作,取值["alg"(人机识别), "drop"(拦截)]
-
setAct
public void setAct(String Act)
Set 执行动作,取值["alg"(人机识别), "drop"(拦截)]- Parameters:
Act- 执行动作,取值["alg"(人机识别), "drop"(拦截)]
-
getExeDuration
public Long getExeDuration()
Get 执行时间,单位秒,取值[1-900]- Returns:
- ExeDuration 执行时间,单位秒,取值[1-900]
-
setExeDuration
public void setExeDuration(Long ExeDuration)
Set 执行时间,单位秒,取值[1-900]- Parameters:
ExeDuration- 执行时间,单位秒,取值[1-900]
-
getUri
public String getUri()
Get URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;- Returns:
- Uri URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;
-
setUri
public void setUri(String Uri)
Set URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;- Parameters:
Uri- URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;
-
getUserAgent
public String getUserAgent()
Get User-Agent字符串,长度不超过80- Returns:
- UserAgent User-Agent字符串,长度不超过80
-
setUserAgent
public void setUserAgent(String UserAgent)
Set User-Agent字符串,长度不超过80- Parameters:
UserAgent- User-Agent字符串,长度不超过80
-
getCookie
public String getCookie()
Get Cookie字符串,长度不超过40- Returns:
- Cookie Cookie字符串,长度不超过40
-
setCookie
public void setCookie(String Cookie)
Set Cookie字符串,长度不超过40- Parameters:
Cookie- Cookie字符串,长度不超过40
-
-