Class SecurityGroupBound
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20190725.models.SecurityGroupBound
-
public class SecurityGroupBound extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupBound()
SecurityGroupBound(SecurityGroupBound 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
Get 执行规则。ACCEPT或DROPString
getAddressModule()
Get 地址组id代表的地址集合String
getCidrIp()
Get ip段。String
getDesc()
Get 描述String
getId()
Get 安全组id代表的地址集合String
getIpProtocol()
Get 传输层协议。tcp,udp或ALLString
getPortRange()
Get 端口范围String
getServiceModule()
Get 服务组id代表的协议和端口集合void
setAction(String Action)
Set 执行规则。ACCEPT或DROPvoid
setAddressModule(String AddressModule)
Set 地址组id代表的地址集合void
setCidrIp(String CidrIp)
Set ip段。void
setDesc(String Desc)
Set 描述void
setId(String Id)
Set 安全组id代表的地址集合void
setIpProtocol(String IpProtocol)
Set 传输层协议。tcp,udp或ALLvoid
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
-
SecurityGroupBound
public SecurityGroupBound()
-
SecurityGroupBound
public SecurityGroupBound(SecurityGroupBound 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段。- Returns:
- CidrIp ip段。
-
setCidrIp
public void setCidrIp(String CidrIp)
Set ip段。- Parameters:
CidrIp
- ip段。
-
getPortRange
public String getPortRange()
Get 端口范围- Returns:
- PortRange 端口范围
-
setPortRange
public void setPortRange(String PortRange)
Set 端口范围- Parameters:
PortRange
- 端口范围
-
getIpProtocol
public String getIpProtocol()
Get 传输层协议。tcp,udp或ALL- Returns:
- IpProtocol 传输层协议。tcp,udp或ALL
-
setIpProtocol
public void setIpProtocol(String IpProtocol)
Set 传输层协议。tcp,udp或ALL- Parameters:
IpProtocol
- 传输层协议。tcp,udp或ALL
-
getId
public String getId()
Get 安全组id代表的地址集合- Returns:
- Id 安全组id代表的地址集合
-
setId
public void setId(String Id)
Set 安全组id代表的地址集合- Parameters:
Id
- 安全组id代表的地址集合
-
getAddressModule
public String getAddressModule()
Get 地址组id代表的地址集合- Returns:
- AddressModule 地址组id代表的地址集合
-
setAddressModule
public void setAddressModule(String AddressModule)
Set 地址组id代表的地址集合- Parameters:
AddressModule
- 地址组id代表的地址集合
-
getServiceModule
public String getServiceModule()
Get 服务组id代表的协议和端口集合- Returns:
- ServiceModule 服务组id代表的协议和端口集合
-
setServiceModule
public void setServiceModule(String ServiceModule)
Set 服务组id代表的协议和端口集合- Parameters:
ServiceModule
- 服务组id代表的协议和端口集合
-
getDesc
public String getDesc()
Get 描述- Returns:
- Desc 描述
-
setDesc
public void setDesc(String Desc)
Set 描述- Parameters:
Desc
- 描述
-
-