public class DDoSAcl extends AbstractModel
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 执行动作,取值为:
drop :丢弃 ;
transmit :放行 ;
forward :继续防护 。
|
Long |
getDefault()
Get 是否为系统配置,取值为:
0 :修改配置 ;
1 :系统默认配置 。
|
Long |
getDportEnd()
Get 目的端口结束,取值范围0-65535。
|
Long |
getDportStart()
Get 目的端口开始,取值范围0-65535。
|
String |
getProtocol()
Get 协议,取值有:
tcp :tcp协议 ;
udp :udp协议 ;
all :全部协议 。
|
Long |
getSportEnd()
Get 源端口结束,取值范围0-65535。
|
Long |
getSportStart()
Get 源端口开始,取值范围0-65535。
|
void |
setAction(String Action)
Set 执行动作,取值为:
drop :丢弃 ;
transmit :放行 ;
forward :继续防护 。
|
void |
setDefault(Long Default)
Set 是否为系统配置,取值为:
0 :修改配置 ;
1 :系统默认配置 。
|
void |
setDportEnd(Long DportEnd)
Set 目的端口结束,取值范围0-65535。
|
void |
setDportStart(Long DportStart)
Set 目的端口开始,取值范围0-65535。
|
void |
setProtocol(String Protocol)
Set 协议,取值有:
tcp :tcp协议 ;
udp :udp协议 ;
all :全部协议 。
|
void |
setSportEnd(Long SportEnd)
Set 源端口结束,取值范围0-65535。
|
void |
setSportStart(Long SportStart)
Set 源端口开始,取值范围0-65535。
|
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 DDoSAcl()
public DDoSAcl(DDoSAcl source)
public Long getDportEnd()
public void setDportEnd(Long DportEnd)
DportEnd
- 目的端口结束,取值范围0-65535。public Long getDportStart()
public void setDportStart(Long DportStart)
DportStart
- 目的端口开始,取值范围0-65535。public Long getSportEnd()
public void setSportEnd(Long SportEnd)
SportEnd
- 源端口结束,取值范围0-65535。public Long getSportStart()
public void setSportStart(Long SportStart)
SportStart
- 源端口开始,取值范围0-65535。public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 协议,取值有:
public String getAction()
public void setAction(String Action)
Action
- 执行动作,取值为:
public Long getDefault()
public void setDefault(Long Default)
Default
- 是否为系统配置,取值为:
Copyright © 2022. All rights reserved.