public class SecurityPolicyRuleIn extends AbstractModel
| Constructor and Description | 
|---|
SecurityPolicyRuleIn()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAction()
Get Policy: Allow (ACCEPT) or reject (DROP). 
 | 
String | 
getAliasName()
Get Rule alias 
 | 
String | 
getDestPortRange()
Get Target port. 
 | 
String | 
getProtocol()
Get Protocol: TCP or UDP. 
 | 
String | 
getSourceCidr()
Get Source IP or IP range of the request. 
 | 
void | 
setAction(String Action)
Set Policy: Allow (ACCEPT) or reject (DROP). 
 | 
void | 
setAliasName(String AliasName)
Set Rule alias 
 | 
void | 
setDestPortRange(String DestPortRange)
Set Target port. 
 | 
void | 
setProtocol(String Protocol)
Set Protocol: TCP or UDP. 
 | 
void | 
setSourceCidr(String SourceCidr)
Set Source IP or IP range of the request. 
 | 
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 getSourceCidr()
public void setSourceCidr(String SourceCidr)
SourceCidr - Source IP or IP range of the request.public String getAction()
public void setAction(String Action)
Action - Policy: Allow (ACCEPT) or reject (DROP).public String getAliasName()
public void setAliasName(String AliasName)
AliasName - Rule aliaspublic String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocol: TCP or UDP. ALL indicates all protocols.public String getDestPortRange()
public void setDestPortRange(String DestPortRange)
DestPortRange - Target port. Formatting examples:
Single port: 80
Multiple ports: 80, 443
Consecutive ports: 3306-20000
All ports: ALLCopyright © 2021. All rights reserved.