public class FirewallRuleInfo extends AbstractModel
| Constructor and Description | 
|---|
| FirewallRuleInfo() | 
| FirewallRuleInfo(FirewallRuleInfo 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 Valid values: ACCEPT, DROP. | 
| String | getAppType()Get Application type. | 
| String | getCidrBlock()Get IP range or IP (mutually exclusive). | 
| String | getFirewallRuleDescription()Get Firewall rule description. | 
| String | getPort()Get Port. | 
| String | getProtocol()Get Protocol. | 
| void | setAction(String Action)Set Valid values: ACCEPT, DROP. | 
| void | setAppType(String AppType)Set Application type. | 
| void | setCidrBlock(String CidrBlock)Set IP range or IP (mutually exclusive). | 
| void | setFirewallRuleDescription(String FirewallRuleDescription)Set Firewall rule description. | 
| void | setPort(String Port)Set Port. | 
| void | setProtocol(String Protocol)Set Protocol. | 
| 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 FirewallRuleInfo()
public FirewallRuleInfo(FirewallRuleInfo source)
public String getAppType()
public void setAppType(String AppType)
AppType - Application type. Valid values: custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.public String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocol. Valid values: TCP, UDP, ICMP, ALL.public String getPort()
public void setPort(String Port)
Port - Port. Valid values: ALL, one single port, multiple ports separated by commas, or port range indicated by a minus signpublic String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock - IP range or IP (mutually exclusive). Default value: 0.0.0.0/0, which indicates all sources.public String getAction()
public void setAction(String Action)
Action - Valid values: ACCEPT, DROP. Default value: ACCEPT.public String getFirewallRuleDescription()
public void setFirewallRuleDescription(String FirewallRuleDescription)
FirewallRuleDescription - Firewall rule description.Copyright © 2022. All rights reserved.