public class CreateCCFrequencyRulesRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateCCFrequencyRulesRequest() | 
| CreateCCFrequencyRulesRequest(CreateCCFrequencyRulesRequest 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 Action take. | 
| String | getBusiness()Get Anti-DDoS service type. | 
| String | getCookie()Get Cookie string. | 
| Long | getExeDuration()Get Execution duration in seconds. | 
| String | getId()Get Anti-DDoS instance ID | 
| String | getMode()Get Matching rule. | 
| Long | getPeriod()Get Reference period in seconds. | 
| Long | getReqNumber()Get Number of access requests. | 
| String | getRuleId()Get Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API | 
| 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 | setBusiness(String Business)Set Anti-DDoS service type. | 
| void | setCookie(String Cookie)Set Cookie string. | 
| void | setExeDuration(Long ExeDuration)Set Execution duration in seconds. | 
| void | setId(String Id)Set Anti-DDoS instance ID | 
| 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 | setRuleId(String RuleId)Set Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` API | 
| 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 CreateCCFrequencyRulesRequest()
public CreateCCFrequencyRulesRequest(CreateCCFrequencyRulesRequest source)
public String getBusiness()
public void setBusiness(String Business)
Business - Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `net`: Anti-DDoS Ultimatepublic String getId()
public void setId(String Id)
Id - Anti-DDoS instance IDpublic String getRuleId()
public void setRuleId(String RuleId)
RuleId - Layer-7 forwarding rule ID, which can be obtained through the `DescribleL7Rules` APIpublic 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]public 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: 40Copyright © 2021. All rights reserved.