public class TranslationAclRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
TranslationAclRule() |
TranslationAclRule(TranslationAclRule 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 |
---|---|
Long |
getAclRuleId()
Get ACL规则`ID`。
|
Long |
getAction()
Get 是否匹配。
|
String |
getDestinationCidr()
Get 目的地址。
|
String |
getDestinationPort()
Get 目的端口。
|
String |
getProtocol()
Get ACL协议类型,可选值:"ALL","TCP","UDP"
|
String |
getSourceCidr()
Get 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
String |
getSourcePort()
Get 源端口。
|
void |
setAclRuleId(Long AclRuleId)
Set ACL规则`ID`。
|
void |
setAction(Long Action)
Set 是否匹配。
|
void |
setDestinationCidr(String DestinationCidr)
Set 目的地址。
|
void |
setDestinationPort(String DestinationPort)
Set 目的端口。
|
void |
setProtocol(String Protocol)
Set ACL协议类型,可选值:"ALL","TCP","UDP"
|
void |
setSourceCidr(String SourceCidr)
Set 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
void |
setSourcePort(String SourcePort)
Set 源端口。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TranslationAclRule()
public TranslationAclRule(TranslationAclRule source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- ACL协议类型,可选值:"ALL","TCP","UDP"public String getSourcePort()
public void setSourcePort(String SourcePort)
SourcePort
- 源端口。public String getSourceCidr()
public void setSourceCidr(String SourceCidr)
SourceCidr
- 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"public String getDestinationPort()
public void setDestinationPort(String DestinationPort)
DestinationPort
- 目的端口。public String getDestinationCidr()
public void setDestinationCidr(String DestinationCidr)
DestinationCidr
- 目的地址。public Long getAclRuleId()
public void setAclRuleId(Long AclRuleId)
AclRuleId
- ACL规则`ID`。public Long getAction()
public void setAction(Long Action)
Action
- 是否匹配。Copyright © 2024. All rights reserved.