public class DDoSRule extends AbstractModel
Constructor and Description |
---|
DDoSRule() |
DDoSRule(DDoSRule 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 |
---|---|
DDoSAcl |
getDDoSAcl()
Get The port filtering settings.
|
DDoSAllowBlock |
getDDoSAllowBlock()
Get The IP blocklist/allowlist.
|
DDoSAntiPly |
getDDoSAntiPly()
Get The protocol and connection protection settings.
|
DDoSGeoIp |
getDDoSGeoIp()
Get The regional blocking settings.
|
DDoSPacketFilter |
getDDoSPacketFilter()
Get The feature filtering settings.
|
DDoSSpeedLimit |
getDDoSSpeedLimit()
Get The settings of the rate limiting rule.
|
DDoSStatusInfo |
getDDoSStatusInfo()
Get The DDoS mitigation level.
|
String |
getSwitch()
Get Whether to enable DDoS mitigation.
|
String |
getUdpShardOpen()
Get Whether to enable UDP fragmentation.
|
void |
setDDoSAcl(DDoSAcl DDoSAcl)
Set The port filtering settings.
|
void |
setDDoSAllowBlock(DDoSAllowBlock DDoSAllowBlock)
Set The IP blocklist/allowlist.
|
void |
setDDoSAntiPly(DDoSAntiPly DDoSAntiPly)
Set The protocol and connection protection settings.
|
void |
setDDoSGeoIp(DDoSGeoIp DDoSGeoIp)
Set The regional blocking settings.
|
void |
setDDoSPacketFilter(DDoSPacketFilter DDoSPacketFilter)
Set The feature filtering settings.
|
void |
setDDoSSpeedLimit(DDoSSpeedLimit DDoSSpeedLimit)
Set The settings of the rate limiting rule.
|
void |
setDDoSStatusInfo(DDoSStatusInfo DDoSStatusInfo)
Set The DDoS mitigation level.
|
void |
setSwitch(String Switch)
Set Whether to enable DDoS mitigation.
|
void |
setUdpShardOpen(String UdpShardOpen)
Set Whether to enable UDP fragmentation.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DDoSRule()
public DDoSRule(DDoSRule source)
public DDoSStatusInfo getDDoSStatusInfo()
public void setDDoSStatusInfo(DDoSStatusInfo DDoSStatusInfo)
DDoSStatusInfo
- The DDoS mitigation level. If it is null, the setting that was last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public DDoSGeoIp getDDoSGeoIp()
public void setDDoSGeoIp(DDoSGeoIp DDoSGeoIp)
DDoSGeoIp
- The regional blocking settings. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public DDoSAllowBlock getDDoSAllowBlock()
public void setDDoSAllowBlock(DDoSAllowBlock DDoSAllowBlock)
DDoSAllowBlock
- The IP blocklist/allowlist. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public DDoSAntiPly getDDoSAntiPly()
public void setDDoSAntiPly(DDoSAntiPly DDoSAntiPly)
DDoSAntiPly
- The protocol and connection protection settings. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public DDoSPacketFilter getDDoSPacketFilter()
public void setDDoSPacketFilter(DDoSPacketFilter DDoSPacketFilter)
DDoSPacketFilter
- The feature filtering settings. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public DDoSAcl getDDoSAcl()
public void setDDoSAcl(DDoSAcl DDoSAcl)
DDoSAcl
- The port filtering settings. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable DDoS mitigation. Values:
public String getUdpShardOpen()
public void setUdpShardOpen(String UdpShardOpen)
UdpShardOpen
- Whether to enable UDP fragmentation. Values:
public DDoSSpeedLimit getDDoSSpeedLimit()
public void setDDoSSpeedLimit(DDoSSpeedLimit DDoSSpeedLimit)
DDoSSpeedLimit
- The settings of the rate limiting rule. If it is null, the settings that were last configured will be used.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.