public class SlowRateConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SlowRateConfig() | 
| SlowRateConfig(SlowRateConfig 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 | 
|---|---|
| Long | getInterval()Get The sampling interval in seconds. | 
| String | getSwitch()Get Switch. | 
| Long | getThreshold()Get The transfer rate threshold in bps. | 
| void | setInterval(Long Interval)Set The sampling interval in seconds. | 
| void | setSwitch(String Switch)Set Switch. | 
| void | setThreshold(Long Threshold)Set The transfer rate threshold in bps. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SlowRateConfig()
public SlowRateConfig(SlowRateConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Switch. Values:
public Long getInterval()
public void setInterval(Long Interval)
Interval - The sampling interval in seconds. In this way, the first 8 KB of the request is ignored. The rest of data is separated in to multiple parts according to this interval for slow attack measurement.
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold - The transfer rate threshold in bps. When the transfer rate of a sample is lower than the threshold, it’s considered a slow attack and handled according to the specified `Action`.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.