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 策略,ACCEPT 或者 DROP | 
| String | getCidrIp()Get 来源 IP 或 IP 段,例如192.168.0.0/16 | 
| String | getIpProtocol()Get 网络协议,支持 UDP、TCP 等 | 
| String | getPortRange()Get 端口 | 
| void | setAction(String Action)Set 策略,ACCEPT 或者 DROP | 
| void | setCidrIp(String CidrIp)Set 来源 IP 或 IP 段,例如192.168.0.0/16 | 
| void | setIpProtocol(String IpProtocol)Set 网络协议,支持 UDP、TCP 等 | 
| void | setPortRange(String PortRange)Set 端口 | 
| 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, toJsonStringpublic SecurityGroupBound()
public SecurityGroupBound(SecurityGroupBound source)
public String getCidrIp()
public void setCidrIp(String CidrIp)
CidrIp - 来源 IP 或 IP 段,例如192.168.0.0/16public String getAction()
public void setAction(String Action)
Action - 策略,ACCEPT 或者 DROPpublic String getPortRange()
public void setPortRange(String PortRange)
PortRange - 端口public String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol - 网络协议,支持 UDP、TCP 等Copyright © 2025. All rights reserved.