public class SlowAttackDefense extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SlowAttackDefense() | 
| SlowAttackDefense(SlowAttackDefense 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 | 
|---|---|
| SecurityAction | getAction()Get 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:Monitor:观察;Deny:拦截; | 
| String | getEnabled()Get 慢速攻击防护是否开启。取值有:on:开启;off:关闭。 | 
| MinimalRequestBodyTransferRate | getMinimalRequestBodyTransferRate()Get 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。 | 
| RequestBodyTransferTimeout | getRequestBodyTransferTimeout()Get 正文传输超时时长的具体配置,当 Enabled 为 on 时,此字段必填。 | 
| void | setAction(SecurityAction Action)Set 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:Monitor:观察;Deny:拦截; | 
| void | setEnabled(String Enabled)Set 慢速攻击防护是否开启。取值有:on:开启;off:关闭。 | 
| void | setMinimalRequestBodyTransferRate(MinimalRequestBodyTransferRate MinimalRequestBodyTransferRate)Set 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。 | 
| void | setRequestBodyTransferTimeout(RequestBodyTransferTimeout RequestBodyTransferTimeout)Set 正文传输超时时长的具体配置,当 Enabled 为 on 时,此字段必填。 | 
| 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 SlowAttackDefense()
public SlowAttackDefense(SlowAttackDefense source)
public String getEnabled()
public void setEnabled(String Enabled)
Enabled - 慢速攻击防护是否开启。取值有:public SecurityAction getAction()
public void setAction(SecurityAction Action)
Action - 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:public MinimalRequestBodyTransferRate getMinimalRequestBodyTransferRate()
public void setMinimalRequestBodyTransferRate(MinimalRequestBodyTransferRate MinimalRequestBodyTransferRate)
MinimalRequestBodyTransferRate - 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。public RequestBodyTransferTimeout getRequestBodyTransferTimeout()
public void setRequestBodyTransferTimeout(RequestBodyTransferTimeout RequestBodyTransferTimeout)
RequestBodyTransferTimeout - 正文传输超时时长的具体配置,当 Enabled 为 on 时,此字段必填。Copyright © 2025. All rights reserved.