Class Outbound
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.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 String
getAction()
Get 策略,ACCEPT或者DROP。String
getAddressModule()
Get 地址组id代表的地址集合。String
getCidrIp()
Get 来源Ip或Ip段,例如192.168.0.0/16。String
getDesc()
Get 描述。String
getId()
Get 安全组id代表的地址集合。String
getIpProtocol()
Get 网络协议,支持udp、tcp等。String
getPortRange()
Get 端口。String
getServiceModule()
Get 服务组id代表的协议和端口集合。void
setAction(String Action)
Set 策略,ACCEPT或者DROP。void
setAddressModule(String AddressModule)
Set 地址组id代表的地址集合。void
setCidrIp(String CidrIp)
Set 来源Ip或Ip段,例如192.168.0.0/16。void
setDesc(String Desc)
Set 描述。void
setId(String Id)
Set 安全组id代表的地址集合。void
setIpProtocol(String IpProtocol)
Set 网络协议,支持udp、tcp等。void
setPortRange(String PortRange)
Set 端口。void
setServiceModule(String ServiceModule)
Set 服务组id代表的协议和端口集合。void
toMap(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。
-
getAddressModule
public String getAddressModule()
Get 地址组id代表的地址集合。- Returns:
- AddressModule 地址组id代表的地址集合。
-
setAddressModule
public void setAddressModule(String AddressModule)
Set 地址组id代表的地址集合。- Parameters:
AddressModule
- 地址组id代表的地址集合。
-
getCidrIp
public String getCidrIp()
Get 来源Ip或Ip段,例如192.168.0.0/16。- Returns:
- CidrIp 来源Ip或Ip段,例如192.168.0.0/16。
-
setCidrIp
public void setCidrIp(String CidrIp)
Set 来源Ip或Ip段,例如192.168.0.0/16。- Parameters:
CidrIp
- 来源Ip或Ip段,例如192.168.0.0/16。
-
getDesc
public String getDesc()
Get 描述。- Returns:
- Desc 描述。
-
setDesc
public void setDesc(String Desc)
Set 描述。- Parameters:
Desc
- 描述。
-
getIpProtocol
public String getIpProtocol()
Get 网络协议,支持udp、tcp等。- Returns:
- IpProtocol 网络协议,支持udp、tcp等。
-
setIpProtocol
public void setIpProtocol(String IpProtocol)
Set 网络协议,支持udp、tcp等。- Parameters:
IpProtocol
- 网络协议,支持udp、tcp等。
-
getPortRange
public String getPortRange()
Get 端口。- Returns:
- PortRange 端口。
-
setPortRange
public void setPortRange(String PortRange)
Set 端口。- Parameters:
PortRange
- 端口。
-
getServiceModule
public String getServiceModule()
Get 服务组id代表的协议和端口集合。- Returns:
- ServiceModule 服务组id代表的协议和端口集合。
-
setServiceModule
public void setServiceModule(String ServiceModule)
Set 服务组id代表的协议和端口集合。- Parameters:
ServiceModule
- 服务组id代表的协议和端口集合。
-
getId
public String getId()
Get 安全组id代表的地址集合。- Returns:
- Id 安全组id代表的地址集合。
-
setId
public void setId(String Id)
Set 安全组id代表的地址集合。- Parameters:
Id
- 安全组id代表的地址集合。
-
-