public class L4RuleEntry extends AbstractModel
Constructor and Description |
---|
L4RuleEntry() |
Modifier and Type | Method and Description |
---|---|
Long |
getKeepEnable()
Get Session persistence status.
|
Long |
getKeepTime()
Get Session persistence duration in seconds
|
Long |
getLbType()
Get Load balancing method.
|
String |
getProtocol()
Get Forwarding protocol.
|
Long |
getRemoveSwitch()
Get Watermark removal status.
|
String |
getRuleId()
Get Rule ID
|
String |
getRuleName()
Get Rule description
|
L4RuleSource[] |
getSourceList()
Get Forward list
|
Long |
getSourcePort()
Get Real server port
|
Long |
getSourceType()
Get Forwarding method.
|
Long |
getVirtualPort()
Get Forwarding port
|
void |
setKeepEnable(Long KeepEnable)
Set Session persistence status.
|
void |
setKeepTime(Long KeepTime)
Set Session persistence duration in seconds
|
void |
setLbType(Long LbType)
Set Load balancing method.
|
void |
setProtocol(String Protocol)
Set Forwarding protocol.
|
void |
setRemoveSwitch(Long RemoveSwitch)
Set Watermark removal status.
|
void |
setRuleId(String RuleId)
Set Rule ID
|
void |
setRuleName(String RuleName)
Set Rule description
|
void |
setSourceList(L4RuleSource[] SourceList)
Set Forward list
|
void |
setSourcePort(Long SourcePort)
Set Real server port
|
void |
setSourceType(Long SourceType)
Set Forwarding method.
|
void |
setVirtualPort(Long VirtualPort)
Set Forwarding port
|
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 String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Forwarding protocol. Valid values: [TCP, UDP]public Long getVirtualPort()
public void setVirtualPort(Long VirtualPort)
VirtualPort
- Forwarding portpublic Long getSourcePort()
public void setSourcePort(Long SourcePort)
SourcePort
- Real server portpublic Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- Forwarding method. Valid values: [1 (forwarding via domain name), 2 (forwarding via IP)]public Long getKeepTime()
public void setKeepTime(Long KeepTime)
KeepTime
- Session persistence duration in secondspublic L4RuleSource[] getSourceList()
public void setSourceList(L4RuleSource[] SourceList)
SourceList
- Forward listpublic Long getLbType()
public void setLbType(Long LbType)
LbType
- Load balancing method. Valid values: [1 (weighted round robin), 2 (source IP hash)]public Long getKeepEnable()
public void setKeepEnable(Long KeepEnable)
KeepEnable
- Session persistence status. Valid values: [0 (disabled), 1 (enabled)];public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Rule IDpublic String getRuleName()
public void setRuleName(String RuleName)
RuleName
- Rule descriptionpublic Long getRemoveSwitch()
public void setRemoveSwitch(Long RemoveSwitch)
RemoveSwitch
- Watermark removal status. Valid values: [0 (disabled), 1 (enabled)]Copyright © 2020. All rights reserved.