public class SlowPostConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SlowPostConfig() | 
| SlowPostConfig(SlowPostConfig 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 The action to taken when a slow attack is detected. | 
| FirstPartConfig | getFirstPartConfig()Get Detect slow attacks by the transfer period of the first 8 KB of requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| Long | getRuleId()Get ID of the rule
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| SlowRateConfig | getSlowRateConfig()Get Detect slow attacks by the data rate of the main body (excluding the first 8 KB) of requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getSwitch()Get Values:
`on`: Enable
`off`: Disable | 
| void | setAction(String Action)Set The action to taken when a slow attack is detected. | 
| void | setFirstPartConfig(FirstPartConfig FirstPartConfig)Set Detect slow attacks by the transfer period of the first 8 KB of requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setRuleId(Long RuleId)Set ID of the rule
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSlowRateConfig(SlowRateConfig SlowRateConfig)Set Detect slow attacks by the data rate of the main body (excluding the first 8 KB) of requests
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSwitch(String Switch)Set Values:
`on`: Enable
`off`: Disable | 
| 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 SlowPostConfig()
public SlowPostConfig(SlowPostConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Values:
public FirstPartConfig getFirstPartConfig()
public void setFirstPartConfig(FirstPartConfig FirstPartConfig)
FirstPartConfig - Detect slow attacks by the transfer period of the first 8 KB of requests
Note: This field may return `null`, indicating that no valid value can be obtained.public SlowRateConfig getSlowRateConfig()
public void setSlowRateConfig(SlowRateConfig SlowRateConfig)
SlowRateConfig - Detect slow attacks by the data rate of the main body (excluding the first 8 KB) of requests
Note: This field may return `null`, indicating that no valid value can be obtained.public String getAction()
public void setAction(String Action)
Action - The action to taken when a slow attack is detected. Values:
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - ID of the rule
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.