public class Outbound extends AbstractModel
| Constructor and Description |
|---|
Outbound() |
| 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 |
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 |
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 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 rulesCopyright © 2021. All rights reserved.