public class CCFrequencyRule extends AbstractModel
Constructor and Description |
---|
CCFrequencyRule() |
CCFrequencyRule(CCFrequencyRule 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 |
getAct()
Get 执行动作,取值["alg"(人机识别), "drop"(拦截)]
|
String |
getCCFrequencyRuleId()
Get CC的访问频率控制规则ID
|
String |
getCookie()
Get Cookie字符串,长度不超过40
|
Long |
getExeDuration()
Get 执行时间,单位秒,取值[1-900]
|
String |
getMode()
Get 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]
|
Long |
getPeriod()
Get 统计周期,单位秒,取值[10, 30, 60]
|
Long |
getReqNumber()
Get 访问次数,取值[1-10000]
|
String |
getUri()
Get URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;
|
String |
getUserAgent()
Get User-Agent字符串,长度不超过80
|
void |
setAct(String Act)
Set 执行动作,取值["alg"(人机识别), "drop"(拦截)]
|
void |
setCCFrequencyRuleId(String CCFrequencyRuleId)
Set CC的访问频率控制规则ID
|
void |
setCookie(String Cookie)
Set Cookie字符串,长度不超过40
|
void |
setExeDuration(Long ExeDuration)
Set 执行时间,单位秒,取值[1-900]
|
void |
setMode(String Mode)
Set 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]
|
void |
setPeriod(Long Period)
Set 统计周期,单位秒,取值[10, 30, 60]
|
void |
setReqNumber(Long ReqNumber)
Set 访问次数,取值[1-10000]
|
void |
setUri(String Uri)
Set URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;
|
void |
setUserAgent(String UserAgent)
Set User-Agent字符串,长度不超过80
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CCFrequencyRule()
public CCFrequencyRule(CCFrequencyRule source)
public String getCCFrequencyRuleId()
public void setCCFrequencyRuleId(String CCFrequencyRuleId)
CCFrequencyRuleId
- CC的访问频率控制规则IDpublic String getUri()
public void setUri(String Uri)
Uri
- URI字符串,必须以/开头,例如/abc/a.php,长度不超过31;当URI=/时,匹配模式只能选择前缀匹配;public String getUserAgent()
public void setUserAgent(String UserAgent)
UserAgent
- User-Agent字符串,长度不超过80public String getCookie()
public void setCookie(String Cookie)
Cookie
- Cookie字符串,长度不超过40public String getMode()
public void setMode(String Mode)
Mode
- 匹配规则,取值["include"(前缀匹配),"equal"(完全匹配)]public Long getPeriod()
public void setPeriod(Long Period)
Period
- 统计周期,单位秒,取值[10, 30, 60]public Long getReqNumber()
public void setReqNumber(Long ReqNumber)
ReqNumber
- 访问次数,取值[1-10000]public String getAct()
public void setAct(String Act)
Act
- 执行动作,取值["alg"(人机识别), "drop"(拦截)]public Long getExeDuration()
public void setExeDuration(Long ExeDuration)
ExeDuration
- 执行时间,单位秒,取值[1-900]Copyright © 2021. All rights reserved.