public class CreateL4ProxyRulesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateL4ProxyRulesRequest() | 
| CreateL4ProxyRulesRequest(CreateL4ProxyRulesRequest 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 | 
|---|---|
| L4ProxyRule[] | getL4ProxyRules()Get 转发规则列表。单次最多支持 200 条转发规则。
注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。 | 
| String | getProxyId()Get 四层代理实例 ID。 | 
| String | getZoneId()Get 站点 ID。 | 
| void | setL4ProxyRules(L4ProxyRule[] L4ProxyRules)Set 转发规则列表。单次最多支持 200 条转发规则。
注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。 | 
| void | setProxyId(String ProxyId)Set 四层代理实例 ID。 | 
| void | setZoneId(String ZoneId)Set 站点 ID。 | 
| 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, toJsonStringpublic CreateL4ProxyRulesRequest()
public CreateL4ProxyRulesRequest(CreateL4ProxyRulesRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - 站点 ID。public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId - 四层代理实例 ID。public L4ProxyRule[] getL4ProxyRules()
public void setL4ProxyRules(L4ProxyRule[] L4ProxyRules)
L4ProxyRules - 转发规则列表。单次最多支持 200 条转发规则。
注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。Copyright © 2025. All rights reserved.