public class SlowPostConfig extends AbstractModel
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 慢速攻击的处置动作,取值有:
monitor:观察;
drop:拦截。
注意:此字段可能返回 null,表示取不到有效值。
|
FirstPartConfig |
getFirstPartConfig()
Get 首包配置。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRuleId()
Get 本规则的Id。
注意:此字段可能返回 null,表示取不到有效值。
|
SlowRateConfig |
getSlowRateConfig()
Get 基础配置。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 开关,取值有:
on:开启;
off:关闭。
|
void |
setAction(String Action)
Set 慢速攻击的处置动作,取值有:
monitor:观察;
drop:拦截。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFirstPartConfig(FirstPartConfig FirstPartConfig)
Set 首包配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRuleId(Long RuleId)
Set 本规则的Id。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSlowRateConfig(SlowRateConfig SlowRateConfig)
Set 基础配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 开关,取值有:
on:开启;
off:关闭。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SlowPostConfig()
public SlowPostConfig(SlowPostConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 开关,取值有:
public FirstPartConfig getFirstPartConfig()
public void setFirstPartConfig(FirstPartConfig FirstPartConfig)
FirstPartConfig
- 首包配置。
注意:此字段可能返回 null,表示取不到有效值。public SlowRateConfig getSlowRateConfig()
public void setSlowRateConfig(SlowRateConfig SlowRateConfig)
SlowRateConfig
- 基础配置。
注意:此字段可能返回 null,表示取不到有效值。public String getAction()
public void setAction(String Action)
Action
- 慢速攻击的处置动作,取值有:
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- 本规则的Id。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.