public class Outbound extends AbstractModel
| Constructor and Description | 
|---|
| Outbound() | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAction()Get Policy, which can be ACCEPT or DROP | 
| String | getCidrIp()Get Destination IP or IP range, such as 172.16.0.0/12 | 
| String | getDesc()Get Rule description | 
| String | getDir()Get The direction of the rule, which is OUTPUT for inbound rules | 
| String | getIpProtocol()Get Network protocol. | 
| String | getPortRange()Get Port or port range | 
| void | setAction(String Action)Set Policy, which can be ACCEPT or DROP | 
| void | setCidrIp(String CidrIp)Set Destination IP or IP range, such as 172.16.0.0/12 | 
| void | setDesc(String Desc)Set Rule description | 
| void | setDir(String Dir)Set The direction of the rule, which is OUTPUT for inbound rules | 
| void | setIpProtocol(String IpProtocol)Set Network protocol. | 
| void | setPortRange(String PortRange)Set Port or port range | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Outbound()
public Outbound(Outbound source)
public String getAction()
public void setAction(String Action)
Action - Policy, which can be ACCEPT or DROPpublic String getCidrIp()
public void setCidrIp(String CidrIp)
CidrIp - Destination IP or IP range, such as 172.16.0.0/12public String getPortRange()
public void setPortRange(String PortRange)
PortRange - Port or port rangepublic String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol - Network protocol. UDP and TCP are supportedpublic String getDir()
public void setDir(String Dir)
Dir - The direction of the rule, which is OUTPUT for inbound rulespublic String getDesc()
public void setDesc(String Desc)
Desc - Rule descriptionCopyright © 2021. All rights reserved.