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 Slow attack protection handling method.
|
String |
getEnabled()
Get Whether slow attack protection is enabled.
|
MinimalRequestBodyTransferRate |
getMinimalRequestBodyTransferRate()
Get The specific configuration of the minimum body transfer rate threshold is required when Enabled is on.
|
RequestBodyTransferTimeout |
getRequestBodyTransferTimeout()
Get Specifies the specific configuration of body transfer timeout duration.
|
void |
setAction(SecurityAction Action)
Set Slow attack protection handling method.
|
void |
setEnabled(String Enabled)
Set Whether slow attack protection is enabled.
|
void |
setMinimalRequestBodyTransferRate(MinimalRequestBodyTransferRate MinimalRequestBodyTransferRate)
Set The specific configuration of the minimum body transfer rate threshold is required when Enabled is on.
|
void |
setRequestBodyTransferTimeout(RequestBodyTransferTimeout RequestBodyTransferTimeout)
Set Specifies the specific configuration of body transfer timeout duration.
|
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 - Whether slow attack protection is enabled. valid values: public SecurityAction getAction()
public void setAction(SecurityAction Action)
Action - Slow attack protection handling method. required when Enabled is on. valid values for SecurityAction Name: public MinimalRequestBodyTransferRate getMinimalRequestBodyTransferRate()
public void setMinimalRequestBodyTransferRate(MinimalRequestBodyTransferRate MinimalRequestBodyTransferRate)
MinimalRequestBodyTransferRate - The specific configuration of the minimum body transfer rate threshold is required when Enabled is on.public RequestBodyTransferTimeout getRequestBodyTransferTimeout()
public void setRequestBodyTransferTimeout(RequestBodyTransferTimeout RequestBodyTransferTimeout)
RequestBodyTransferTimeout - Specifies the specific configuration of body transfer timeout duration. required when Enabled is on.Copyright © 2025. All rights reserved.