public class CCRuleConfig extends AbstractModel
| Constructor and Description | 
|---|
| CCRuleConfig() | 
| CCRuleConfig(CCRuleConfig 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 | getAction()Get Action take. | 
| Long | getExeDuration()Get Execution duration in seconds. | 
| Long | getPeriod()Get Reference period in seconds. | 
| Long | getReqNumber()Get Number of access requests. | 
| void | setAction(String Action)Set Action take. | 
| void | setExeDuration(Long ExeDuration)Set Execution duration in seconds. | 
| void | setPeriod(Long Period)Set Reference period in seconds. | 
| void | setReqNumber(Long ReqNumber)Set Number of access requests. | 
| 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 CCRuleConfig()
public CCRuleConfig(CCRuleConfig source)
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 getAction()
public void setAction(String Action)
Action - 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 © 2023. All rights reserved.