public class SecurityPolicyRuleOut extends AbstractModel
| Constructor and Description | 
|---|
| SecurityPolicyRuleOut() | 
| SecurityPolicyRuleOut(SecurityPolicyRuleOut 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: Allow (ACCEPT) or reject (DROP). | 
| String | getAliasName()Get Rule alias | 
| String | getDestPortRange()Get Target port range
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getPolicyId()Get Security policy ID | 
| String | getProtocol()Get Protocol type to be matched (TCP/UDP)
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getRuleId()Get Rule ID | 
| 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 range
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPolicyId(String PolicyId)Set Security policy ID | 
| void | setProtocol(String Protocol)Set Protocol type to be matched (TCP/UDP)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRuleId(String RuleId)Set Rule ID | 
| 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 SecurityPolicyRuleOut()
public SecurityPolicyRuleOut(SecurityPolicyRuleOut source)
public String getAction()
public void setAction(String Action)
Action - Policy: Allow (ACCEPT) or reject (DROP).public String getSourceCidr()
public void setSourceCidr(String SourceCidr)
SourceCidr - Source IP or IP range of the request.public String getAliasName()
public void setAliasName(String AliasName)
AliasName - Rule aliaspublic String getDestPortRange()
public void setDestPortRange(String DestPortRange)
DestPortRange - Target port range
Note: This field may return null, indicating that no valid values can be obtained.public String getRuleId()
public void setRuleId(String RuleId)
RuleId - Rule IDpublic String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocol type to be matched (TCP/UDP)
Note: This field may return null, indicating that no valid values can be obtained.public String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId - Security policy IDCopyright © 2021. All rights reserved.