public class DDoSPolicyPortLimit extends AbstractModel
skipSign
Constructor and Description |
---|
DDoSPolicyPortLimit() |
DDoSPolicyPortLimit(DDoSPolicyPortLimit 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 Action to be executed.
|
Long |
getDPortEnd()
Get End destination port, which must be greater than or equal to the start destination port.
|
Long |
getDPortStart()
Get Start destination port.
|
Long |
getKind()
Get Type of port to be disabled.
|
String |
getProtocol()
Get Protocol.
|
Long |
getSPortEnd()
Get End source port, which must be greater than or equal to the start source port.
|
Long |
getSPortStart()
Get Start source port.
|
void |
setAction(String Action)
Set Action to be executed.
|
void |
setDPortEnd(Long DPortEnd)
Set End destination port, which must be greater than or equal to the start destination port.
|
void |
setDPortStart(Long DPortStart)
Set Start destination port.
|
void |
setKind(Long Kind)
Set Type of port to be disabled.
|
void |
setProtocol(String Protocol)
Set Protocol.
|
void |
setSPortEnd(Long SPortEnd)
Set End source port, which must be greater than or equal to the start source port.
|
void |
setSPortStart(Long SPortStart)
Set Start source port.
|
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 DDoSPolicyPortLimit()
public DDoSPolicyPortLimit(DDoSPolicyPortLimit source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol. Valid values: [tcp, udp, all]public Long getDPortStart()
public void setDPortStart(Long DPortStart)
DPortStart
- Start destination port. Value range: [0,65535]public Long getDPortEnd()
public void setDPortEnd(Long DPortEnd)
DPortEnd
- End destination port, which must be greater than or equal to the start destination port. Value range: [0,65535]public Long getSPortStart()
public void setSPortStart(Long SPortStart)
SPortStart
- Start source port. Value range: [0,65535]
Note: this field may return null, indicating that no valid values can be obtained.public Long getSPortEnd()
public void setSPortEnd(Long SPortEnd)
SPortEnd
- End source port, which must be greater than or equal to the start source port. Value range: [0,65535]
Note: this field may return null, indicating that no valid values can be obtained.public String getAction()
public void setAction(String Action)
Action
- Action to be executed. Valid values: [drop (discard) , transmit (forward)]
Note: this field may return null, indicating that no valid values can be obtained.public Long getKind()
public void setKind(Long Kind)
Kind
- Type of port to be disabled. Valid values: [0 (destination port range), 1 (source port range), 2 (destination port range and source port range)]
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.