public class DDoSAcl extends AbstractModel
skipSign
Constructor and Description |
---|
DDoSAcl() |
DDoSAcl(DDoSAcl 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.
|
Long |
getDefault()
Get Whether it is a system configuration.
|
Long |
getDportEnd()
Get Destination port used as the end port
|
Long |
getDportStart()
Get Destination port used as the start port
|
String |
getProtocol()
Get Protocol.
|
Long |
getSportEnd()
Get Source port used as the end port
|
Long |
getSportStart()
Get Source port used as the start port
|
void |
setAction(String Action)
Set Action.
|
void |
setDefault(Long Default)
Set Whether it is a system configuration.
|
void |
setDportEnd(Long DportEnd)
Set Destination port used as the end port
|
void |
setDportStart(Long DportStart)
Set Destination port used as the start port
|
void |
setProtocol(String Protocol)
Set Protocol.
|
void |
setSportEnd(Long SportEnd)
Set Source port used as the end port
|
void |
setSportStart(Long SportStart)
Set Source port used as the start 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 DDoSAcl()
public DDoSAcl(DDoSAcl source)
public Long getDportEnd()
public void setDportEnd(Long DportEnd)
DportEnd
- Destination port used as the end portpublic Long getDportStart()
public void setDportStart(Long DportStart)
DportStart
- Destination port used as the start portpublic Long getSportEnd()
public void setSportEnd(Long SportEnd)
SportEnd
- Source port used as the end portpublic Long getSportStart()
public void setSportStart(Long SportStart)
SportStart
- Source port used as the start portpublic String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol. Values: `tcp`, `udp`, and `all`.public String getAction()
public void setAction(String Action)
Action
- Action. Values: `drop` (Drop the request); `transmit` (Allow the request); `forward` (Continue to offer protection).public Long getDefault()
public void setDefault(Long Default)
Default
- Whether it is a system configuration. Values: `0` (manual configuration); `1` (system configuration).Copyright © 2023. All rights reserved.