public class ProtocolBlockConfig extends AbstractModel
Constructor and Description |
---|
ProtocolBlockConfig() |
ProtocolBlockConfig(ProtocolBlockConfig 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 |
---|---|
Long |
getCheckExceptNullConnect()
Get Null connection protection.
|
Long |
getDropIcmp()
Get ICMP blocking.
|
Long |
getDropOther()
Get Other protocol blocking.
|
Long |
getDropTcp()
Get TCP blocking.
|
Long |
getDropUdp()
Get UDP blocking.
|
Long |
getPingOfDeath()
Get PoD protection.
|
Long |
getTearDrop()
Get Teardrop protection.
|
void |
setCheckExceptNullConnect(Long CheckExceptNullConnect)
Set Null connection protection.
|
void |
setDropIcmp(Long DropIcmp)
Set ICMP blocking.
|
void |
setDropOther(Long DropOther)
Set Other protocol blocking.
|
void |
setDropTcp(Long DropTcp)
Set TCP blocking.
|
void |
setDropUdp(Long DropUdp)
Set UDP blocking.
|
void |
setPingOfDeath(Long PingOfDeath)
Set PoD protection.
|
void |
setTearDrop(Long TearDrop)
Set Teardrop protection.
|
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 ProtocolBlockConfig()
public ProtocolBlockConfig(ProtocolBlockConfig source)
public Long getDropTcp()
public void setDropTcp(Long DropTcp)
DropTcp
- TCP blocking. Valid values: `0` (disabled), `1`(enabled).public Long getDropUdp()
public void setDropUdp(Long DropUdp)
DropUdp
- UDP blocking. Valid values: `0` (disabled), `1`(enabled).public Long getDropIcmp()
public void setDropIcmp(Long DropIcmp)
DropIcmp
- ICMP blocking. Valid values: `0` (disabled), `1`(enabled).public Long getDropOther()
public void setDropOther(Long DropOther)
DropOther
- Other protocol blocking. Valid values: `0` (disabled), `1`(enabled).public Long getCheckExceptNullConnect()
public void setCheckExceptNullConnect(Long CheckExceptNullConnect)
CheckExceptNullConnect
- Null connection protection. Valid values: `0` (disabled), `1` (enabled).public Long getPingOfDeath()
public void setPingOfDeath(Long PingOfDeath)
PingOfDeath
- PoD protection. Values: `0` (disable), `1` (enable).public Long getTearDrop()
public void setTearDrop(Long TearDrop)
TearDrop
- Teardrop protection. Values: `0` (disable), `1` (enable).Copyright © 2023. All rights reserved.