public class CCReqLimitPolicyRecord extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CCReqLimitPolicyRecord()  | 
CCReqLimitPolicyRecord(CCReqLimitPolicyRecord 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 of limiting request frequency. 
 | 
String | 
getCookie()
Get Cookie, which cannot be used together with `Uri` and `User-Agent`. 
 | 
Long | 
getExecuteDuration()
Get Sets an interval of the frequency limit policy. 
 | 
String | 
getMode()
Get Filters values of configuration fields. 
 | 
Long | 
getPeriod()
Get Sampling interval (in seconds). 
 | 
Long | 
getRequestNum()
Get Number of requests. 
 | 
String | 
getUri()
Get URI, which cannot be used together with `User-Agent` and `Cookie`. 
 | 
String | 
getUserAgent()
Get User-Agent, which cannot be used together with `Uri` and `Cookie`. 
 | 
void | 
setAction(String Action)
Set Action of limiting request frequency. 
 | 
void | 
setCookie(String Cookie)
Set Cookie, which cannot be used together with `Uri` and `User-Agent`. 
 | 
void | 
setExecuteDuration(Long ExecuteDuration)
Set Sets an interval of the frequency limit policy. 
 | 
void | 
setMode(String Mode)
Set Filters values of configuration fields. 
 | 
void | 
setPeriod(Long Period)
Set Sampling interval (in seconds). 
 | 
void | 
setRequestNum(Long RequestNum)
Set Number of requests. 
 | 
void | 
setUri(String Uri)
Set URI, which cannot be used together with `User-Agent` and `Cookie`. 
 | 
void | 
setUserAgent(String UserAgent)
Set User-Agent, which cannot be used together with `Uri` and `Cookie`. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CCReqLimitPolicyRecord()
public CCReqLimitPolicyRecord(CCReqLimitPolicyRecord source)
public Long getPeriod()
public void setPeriod(Long Period)
Period - Sampling interval (in seconds). Valid values: `1`, `10`, `30`, and `60`.public Long getRequestNum()
public void setRequestNum(Long RequestNum)
RequestNum - Number of requests. Value range: 1-2000.public String getAction()
public void setAction(String Action)
Action - Action of limiting request frequency. Valid values: `alg` (limit request frequency via verification codes) and `drop`(drop requests).public Long getExecuteDuration()
public void setExecuteDuration(Long ExecuteDuration)
ExecuteDuration - Sets an interval of the frequency limit policy. Value range: 1-86400 (in seconds).public String getMode()
public void setMode(String Mode)
Mode - Filters values of configuration fields. `include`: The value is included. `equal`: The value matches the configuration field.public String getUri()
public void setUri(String Uri)
Uri - URI, which cannot be used together with `User-Agent` and `Cookie`.public String getUserAgent()
public void setUserAgent(String UserAgent)
UserAgent - User-Agent, which cannot be used together with `Uri` and `Cookie`.public String getCookie()
public void setCookie(String Cookie)
Cookie - Cookie, which cannot be used together with `Uri` and `User-Agent`.Copyright © 2025. All rights reserved.