public class MultiPathGatewayLine extends AbstractModel
header, skipSign
Constructor and Description |
---|
MultiPathGatewayLine() |
MultiPathGatewayLine(MultiPathGatewayLine 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 |
getLineAddress()
Get 线路地址,格式为 host:port 。
|
String |
getLineId()
Get 线路 ID , 其中 line-0 和 line-1 为系统内置线路 ID,取值有:
line-0:直连线路,不支持添加、编辑和删除;
line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;
line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。
|
String |
getLineType()
Get 线路类型,取值有:
direct :直连线路,不支持编辑、不支持删除;
proxy :EdgeOne 四层代理线路,支持编辑修改实例和规则,不支持删除;
custom :自定义线路,支持编辑、支持删除。
|
String |
getProxyId()
Get 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
|
String |
getRuleId()
Get 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
|
void |
setLineAddress(String LineAddress)
Set 线路地址,格式为 host:port 。
|
void |
setLineId(String LineId)
Set 线路 ID , 其中 line-0 和 line-1 为系统内置线路 ID,取值有:
line-0:直连线路,不支持添加、编辑和删除;
line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;
line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。
|
void |
setLineType(String LineType)
Set 线路类型,取值有:
direct :直连线路,不支持编辑、不支持删除;
proxy :EdgeOne 四层代理线路,支持编辑修改实例和规则,不支持删除;
custom :自定义线路,支持编辑、支持删除。
|
void |
setProxyId(String ProxyId)
Set 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
|
void |
setRuleId(String RuleId)
Set 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
|
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 MultiPathGatewayLine()
public MultiPathGatewayLine(MultiPathGatewayLine source)
public String getLineId()
public void setLineId(String LineId)
LineId
- 线路 ID , 其中 line-0 和 line-1 为系统内置线路 ID,取值有:
public String getLineType()
public void setLineType(String LineType)
LineType
- 线路类型,取值有:
public String getLineAddress()
public void setLineAddress(String LineAddress)
LineAddress
- 线路地址,格式为 host:port 。public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId
- 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。Copyright © 2025. All rights reserved.