Class Outbound
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.Outbound
-
public class Outbound extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Get 策略,ACCEPT 或者 DROPStringgetAddressModule()Get 地址模块StringgetCidrIp()Get 目的 IP 或 IP 段,例如172.16.0.0/12StringgetDesc()Get 规则描述StringgetDir()Get 规则限定的方向,进站规则为 OUTPUTStringgetIpProtocol()Get 网络协议,支持 UDP、TCP等StringgetPortRange()Get 端口或者端口范围voidsetAction(String Action)Set 策略,ACCEPT 或者 DROPvoidsetAddressModule(String AddressModule)Set 地址模块voidsetCidrIp(String CidrIp)Set 目的 IP 或 IP 段,例如172.16.0.0/12voidsetDesc(String Desc)Set 规则描述voidsetDir(String Dir)Set 规则限定的方向,进站规则为 OUTPUTvoidsetIpProtocol(String IpProtocol)Set 网络协议,支持 UDP、TCP等voidsetPortRange(String PortRange)Set 端口或者端口范围voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Outbound
public Outbound()
-
Outbound
public Outbound(Outbound 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.
-
-
Method Detail
-
getAction
public String getAction()
Get 策略,ACCEPT 或者 DROP- Returns:
- Action 策略,ACCEPT 或者 DROP
-
setAction
public void setAction(String Action)
Set 策略,ACCEPT 或者 DROP- Parameters:
Action- 策略,ACCEPT 或者 DROP
-
getCidrIp
public String getCidrIp()
Get 目的 IP 或 IP 段,例如172.16.0.0/12- Returns:
- CidrIp 目的 IP 或 IP 段,例如172.16.0.0/12
-
setCidrIp
public void setCidrIp(String CidrIp)
Set 目的 IP 或 IP 段,例如172.16.0.0/12- Parameters:
CidrIp- 目的 IP 或 IP 段,例如172.16.0.0/12
-
getPortRange
public String getPortRange()
Get 端口或者端口范围- Returns:
- PortRange 端口或者端口范围
-
setPortRange
public void setPortRange(String PortRange)
Set 端口或者端口范围- Parameters:
PortRange- 端口或者端口范围
-
getIpProtocol
public String getIpProtocol()
Get 网络协议,支持 UDP、TCP等- Returns:
- IpProtocol 网络协议,支持 UDP、TCP等
-
setIpProtocol
public void setIpProtocol(String IpProtocol)
Set 网络协议,支持 UDP、TCP等- Parameters:
IpProtocol- 网络协议,支持 UDP、TCP等
-
getDir
public String getDir()
Get 规则限定的方向,进站规则为 OUTPUT- Returns:
- Dir 规则限定的方向,进站规则为 OUTPUT
-
setDir
public void setDir(String Dir)
Set 规则限定的方向,进站规则为 OUTPUT- Parameters:
Dir- 规则限定的方向,进站规则为 OUTPUT
-
getAddressModule
public String getAddressModule()
Get 地址模块- Returns:
- AddressModule 地址模块
-
setAddressModule
public void setAddressModule(String AddressModule)
Set 地址模块- Parameters:
AddressModule- 地址模块
-
getDesc
public String getDesc()
Get 规则描述- Returns:
- Desc 规则描述
-
setDesc
public void setDesc(String Desc)
Set 规则描述- Parameters:
Desc- 规则描述
-
-