public class CCFrequencyRule extends AbstractModel
| Constructor and Description | 
|---|
| CCFrequencyRule() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAct()Get Action take. | 
| String | getCCFrequencyRuleId()Get ID of the access frequency control rule for CC protection | 
| String | getCookie()Get Cookie string. | 
| Long | getExeDuration()Get Execution duration in seconds. | 
| String | getMode()Get Matching rule. | 
| Long | getPeriod()Get Reference period in seconds. | 
| Long | getReqNumber()Get Number of access requests. | 
| String | getUri()Get URI string, which must start with `/`, such as `/abc/a.php`. | 
| String | getUserAgent()Get `User-Agent` string. | 
| void | setAct(String Act)Set Action take. | 
| void | setCCFrequencyRuleId(String CCFrequencyRuleId)Set ID of the access frequency control rule for CC protection | 
| void | setCookie(String Cookie)Set Cookie string. | 
| void | setExeDuration(Long ExeDuration)Set Execution duration in seconds. | 
| void | setMode(String Mode)Set Matching rule. | 
| void | setPeriod(Long Period)Set Reference period in seconds. | 
| void | setReqNumber(Long ReqNumber)Set Number of access requests. | 
| void | setUri(String Uri)Set URI string, which must start with `/`, such as `/abc/a.php`. | 
| void | setUserAgent(String UserAgent)Set `User-Agent` string. | 
| 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, toJsonStringpublic String getCCFrequencyRuleId()
public void setCCFrequencyRuleId(String CCFrequencyRuleId)
CCFrequencyRuleId - ID of the access frequency control rule for CC protectionpublic String getUri()
public void setUri(String Uri)
Uri - URI string, which must start with `/`, such as `/abc/a.php`. Length limit: 31. If URI is `/`, only prefix match can be selected as the matching mode;public String getUserAgent()
public void setUserAgent(String UserAgent)
UserAgent - `User-Agent` string. Length limit: 80public String getCookie()
public void setCookie(String Cookie)
Cookie - Cookie string. Length limit: 40public String getMode()
public void setMode(String Mode)
Mode - Matching rule. Valid values: ["include" (prefix match), "equal" (exact match)]public Long getPeriod()
public void setPeriod(Long Period)
Period - Reference period in seconds. Valid values: [10, 30, 60]public Long getReqNumber()
public void setReqNumber(Long ReqNumber)
ReqNumber - Number of access requests. Value range: [1-10000]public String getAct()
public void setAct(String Act)
Act - Action take. Valid values: ["alg" (CAPTCHA), "drop" (blocking)]public Long getExeDuration()
public void setExeDuration(Long ExeDuration)
ExeDuration - Execution duration in seconds. Valid range: [1-900]Copyright © 2020. All rights reserved.