public class ModifySecurityRuleRequest extends AbstractModel
Constructor and Description |
---|
ModifySecurityRuleRequest() |
ModifySecurityRuleRequest(ModifySecurityRuleRequest 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 |
getAliasName()
Get Rule name: up to 30 characters.
|
String |
getDestPortRange()
Get Port range.
|
String |
getPolicyId()
Get Security policy ID
|
String |
getProtocol()
Get Protocol type
|
String |
getRuleAction()
Get Security rule action
|
String |
getRuleId()
Get Rule ID
|
String |
getSourceCidr()
Get A CIDR IP address associated with the rule
|
void |
setAliasName(String AliasName)
Set Rule name: up to 30 characters.
|
void |
setDestPortRange(String DestPortRange)
Set Port range.
|
void |
setPolicyId(String PolicyId)
Set Security policy ID
|
void |
setProtocol(String Protocol)
Set Protocol type
|
void |
setRuleAction(String RuleAction)
Set Security rule action
|
void |
setRuleId(String RuleId)
Set Rule ID
|
void |
setSourceCidr(String SourceCidr)
Set A CIDR IP address associated with the rule
|
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, toJsonString
public ModifySecurityRuleRequest()
public ModifySecurityRuleRequest(ModifySecurityRuleRequest source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Rule IDpublic String getAliasName()
public void setAliasName(String AliasName)
AliasName
- Rule name: up to 30 characters. The extra characters will be truncated.public String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId
- Security policy IDpublic String getRuleAction()
public void setRuleAction(String RuleAction)
RuleAction
- Security rule actionpublic String getSourceCidr()
public void setSourceCidr(String SourceCidr)
SourceCidr
- A CIDR IP address associated with the rulepublic String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol typepublic String getDestPortRange()
public void setDestPortRange(String DestPortRange)
DestPortRange
- Port range. Valid values:
A single port: 80
Multiple ports: 80 and 443
Consecutive ports: 3306-20000
All ports: ALLCopyright © 2023. All rights reserved.