public class L4RuleEntry extends AbstractModel
构造器和说明 |
---|
L4RuleEntry() |
限定符和类型 | 方法和说明 |
---|---|
Long |
getKeepEnable()
获取会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]
|
Long |
getKeepTime()
获取会话保持时间,单位秒
|
Long |
getLbType()
获取负载均衡方式,取值[1(加权轮询),2(源IP hash)]
|
String |
getProtocol()
获取转发协议,取值[TCP, UDP]
|
Long |
getRemoveSwitch()
获取移除水印状态,取值[0(关闭),1(开启)]
|
String |
getRuleId()
获取规则ID
|
String |
getRuleName()
获取规则描述
|
L4RuleSource[] |
getSourceList()
获取回源列表
|
Long |
getSourcePort()
获取源站端口
|
Long |
getSourceType()
获取回源方式,取值[1(域名回源),2(IP回源)]
|
Long |
getVirtualPort()
获取转发端口
|
void |
setKeepEnable(Long KeepEnable)
设置会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]
|
void |
setKeepTime(Long KeepTime)
设置会话保持时间,单位秒
|
void |
setLbType(Long LbType)
设置负载均衡方式,取值[1(加权轮询),2(源IP hash)]
|
void |
setProtocol(String Protocol)
设置转发协议,取值[TCP, UDP]
|
void |
setRemoveSwitch(Long RemoveSwitch)
设置移除水印状态,取值[0(关闭),1(开启)]
|
void |
setRuleId(String RuleId)
设置规则ID
|
void |
setRuleName(String RuleName)
设置规则描述
|
void |
setSourceList(L4RuleSource[] SourceList)
设置回源列表
|
void |
setSourcePort(Long SourcePort)
设置源站端口
|
void |
setSourceType(Long SourceType)
设置回源方式,取值[1(域名回源),2(IP回源)]
|
void |
setVirtualPort(Long VirtualPort)
设置转发端口
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 转发协议,取值[TCP, UDP]public Long getVirtualPort()
public void setVirtualPort(Long VirtualPort)
VirtualPort
- 转发端口public Long getSourcePort()
public void setSourcePort(Long SourcePort)
SourcePort
- 源站端口public Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- 回源方式,取值[1(域名回源),2(IP回源)]public Long getKeepTime()
public void setKeepTime(Long KeepTime)
KeepTime
- 会话保持时间,单位秒public L4RuleSource[] getSourceList()
public void setSourceList(L4RuleSource[] SourceList)
SourceList
- 回源列表public Long getLbType()
public void setLbType(Long LbType)
LbType
- 负载均衡方式,取值[1(加权轮询),2(源IP hash)]public Long getKeepEnable()
public void setKeepEnable(Long KeepEnable)
KeepEnable
- 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- 规则IDpublic String getRuleName()
public void setRuleName(String RuleName)
RuleName
- 规则描述public Long getRemoveSwitch()
public void setRemoveSwitch(Long RemoveSwitch)
RemoveSwitch
- 移除水印状态,取值[0(关闭),1(开启)]Copyright © 2019. All rights reserved.