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 | 
|---|---|
| DdosAcls | getDdosAcl()Get DDoS port filtering
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| DdosAllowBlock | getDdosAllowBlock()Get DDoS blocklist/allowlist
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| DDoSAntiPly | getDdosAntiPly()Get Protocol blocking and null session protection
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| DDoSGeoIp | getDdosGeoIp()Get DDoS regional blocking
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| DdosPacketFilter | getDdosPacketFilter()Get DDoS feature filtering
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| DDoSStatusInfo | getDdosStatusInfo()Get DDoS mitigation level
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getSwitch()Get DDoS mitigation switch. | 
| String | getUdpShardOpen()Get Whether to enable UDP fragmentation. | 
| void | setDdosAcl(DdosAcls DdosAcl)Set DDoS port filtering
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setDdosAllowBlock(DdosAllowBlock DdosAllowBlock)Set DDoS blocklist/allowlist
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setDdosAntiPly(DDoSAntiPly DdosAntiPly)Set Protocol blocking and null session protection
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setDdosGeoIp(DDoSGeoIp DdosGeoIp)Set DDoS regional blocking
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setDdosPacketFilter(DdosPacketFilter DdosPacketFilter)Set DDoS feature filtering
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setDdosStatusInfo(DDoSStatusInfo DdosStatusInfo)Set DDoS mitigation level
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSwitch(String Switch)Set DDoS mitigation switch. | 
| 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, toJsonStringpublic DdosRule()
public DdosRule(DdosRule source)
public DDoSStatusInfo getDdosStatusInfo()
public void setDdosStatusInfo(DDoSStatusInfo DdosStatusInfo)
DdosStatusInfo - DDoS mitigation level
Note: This field may return `null`, indicating that no valid value can be obtained.public DDoSGeoIp getDdosGeoIp()
public void setDdosGeoIp(DDoSGeoIp DdosGeoIp)
DdosGeoIp - DDoS regional blocking
Note: This field may return `null`, indicating that no valid value can be obtained.public DdosAllowBlock getDdosAllowBlock()
public void setDdosAllowBlock(DdosAllowBlock DdosAllowBlock)
DdosAllowBlock - DDoS blocklist/allowlist
Note: This field may return `null`, indicating that no valid value can be obtained.public DDoSAntiPly getDdosAntiPly()
public void setDdosAntiPly(DDoSAntiPly DdosAntiPly)
DdosAntiPly - Protocol blocking and null session protection
Note: This field may return `null`, indicating that no valid value can be obtained.public DdosPacketFilter getDdosPacketFilter()
public void setDdosPacketFilter(DdosPacketFilter DdosPacketFilter)
DdosPacketFilter - DDoS feature filtering
Note: This field may return `null`, indicating that no valid value can be obtained.public DdosAcls getDdosAcl()
public void setDdosAcl(DdosAcls DdosAcl)
DdosAcl - DDoS port filtering
Note: This field may return `null`, indicating that no valid value can be obtained.public String getSwitch()
public void setSwitch(String Switch)
Switch - DDoS mitigation switch. `on`: Enable; `off`: Disable.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getUdpShardOpen()
public void setUdpShardOpen(String UdpShardOpen)
UdpShardOpen - Whether to enable UDP fragmentation. `on`: Enable; `off`: Disable.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.