public class SecurityGroupBound extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get Execution policy.
|
String |
getAddressModule()
Get Parameter template ID for the IP address or IP address group.
|
String |
getCidrIp()
Get Inbound IP address or IP range for database access.
|
String |
getDesc()
Get Security group description information.
|
String |
getId()
Get Security group ID.
|
String |
getIpProtocol()
Get Transport layer protocol: TCP.
|
String |
getPortRange()
Get Port for database access.
|
String |
getServiceModule()
Get Parameter template ID for the protocol port or protocol port group.
|
void |
setAction(String Action)
Set Execution policy.
|
void |
setAddressModule(String AddressModule)
Set Parameter template ID for the IP address or IP address group.
|
void |
setCidrIp(String CidrIp)
Set Inbound IP address or IP range for database access.
|
void |
setDesc(String Desc)
Set Security group description information.
|
void |
setId(String Id)
Set Security group ID.
|
void |
setIpProtocol(String IpProtocol)
Set Transport layer protocol: TCP.
|
void |
setPortRange(String PortRange)
Set Port for database access.
|
void |
setServiceModule(String ServiceModule)
Set Parameter template ID for the protocol port or protocol port group.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SecurityGroupBound()
public SecurityGroupBound(SecurityGroupBound source)
public String getAction()
public void setAction(String Action)
Action
- Execution policy.
- ACCEPT: allow. Access requests for the port can be released.
- DROP: reject. Data packets are discarded without any response.public String getCidrIp()
public void setCidrIp(String CidrIp)
CidrIp
- Inbound IP address or IP range for database access.public String getPortRange()
public void setPortRange(String PortRange)
PortRange
- Port for database access.public String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol
- Transport layer protocol: TCP.public String getId()
public void setId(String Id)
Id
- Security group ID.public String getAddressModule()
public void setAddressModule(String AddressModule)
AddressModule
- Parameter template ID for the IP address or IP address group. Log in to the [parameter template console](https://console.cloud.tencent.com/vpc/template/ip) to obtain the parameter template IP address details.public String getServiceModule()
public void setServiceModule(String ServiceModule)
ServiceModule
- Parameter template ID for the protocol port or protocol port group. Log in to the [parameter template console](https://console.cloud.tencent.com/vpc/template/protoport) to obtain the parameter template protocol port details.public String getDesc()
public void setDesc(String Desc)
Desc
- Security group description information.Copyright © 2025. All rights reserved.