public class Inbound extends AbstractModel
| Constructor and Description | 
|---|
Inbound()  | 
Inbound(Inbound 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 Source IP or IP range, such as 192.168.0.0/16 
 | 
String | 
getDesc()
Get Rule description 
 | 
String | 
getDir()
Get The direction of the rule, which is INPUT for inbound rules 
 | 
String | 
getIpProtocol()
Get Network protocol. 
 | 
String | 
getPortRange()
Get Port 
 | 
void | 
setAction(String Action)
Set Policy, which can be ACCEPT or DROP 
 | 
void | 
setCidrIp(String CidrIp)
Set Source IP or IP range, such as 192.168.0.0/16 
 | 
void | 
setDesc(String Desc)
Set Rule description 
 | 
void | 
setDir(String Dir)
Set The direction of the rule, which is INPUT for inbound rules 
 | 
void | 
setIpProtocol(String IpProtocol)
Set Network protocol. 
 | 
void | 
setPortRange(String PortRange)
Set Port 
 | 
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 Inbound()
public Inbound(Inbound 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 - Source IP or IP range, such as 192.168.0.0/16public String getPortRange()
public void setPortRange(String PortRange)
PortRange - Portpublic String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol - Network protocol. UDP and TCP are supported.public String getDir()
public void setDir(String Dir)
Dir - The direction of the rule, which is INPUT for inbound rulespublic String getDesc()
public void setDesc(String Desc)
Desc - Rule descriptionCopyright © 2023. All rights reserved.