public class L4HealthConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
L4HealthConfig() |
L4HealthConfig(L4HealthConfig 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 |
getAliveNum()
Get Healthy threshold in times.
|
Long |
getEnable()
Get 1: enabled, 0: disabled
|
Long |
getInterval()
Get Detection interval in seconds
|
Long |
getKeepTime()
Get Session persistence duration in seconds
|
Long |
getKickNum()
Get Unhealthy threshold in times.
|
String |
getProtocol()
Get Forwarding protocol.
|
Long |
getTimeOut()
Get Response timeout period in seconds
|
Long |
getVirtualPort()
Get Forwarding port
|
void |
setAliveNum(Long AliveNum)
Set Healthy threshold in times.
|
void |
setEnable(Long Enable)
Set 1: enabled, 0: disabled
|
void |
setInterval(Long Interval)
Set Detection interval in seconds
|
void |
setKeepTime(Long KeepTime)
Set Session persistence duration in seconds
|
void |
setKickNum(Long KickNum)
Set Unhealthy threshold in times.
|
void |
setProtocol(String Protocol)
Set Forwarding protocol.
|
void |
setTimeOut(Long TimeOut)
Set Response timeout period in seconds
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public L4HealthConfig()
public L4HealthConfig(L4HealthConfig source)
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 getEnable()
public void setEnable(Long Enable)
Enable
- 1: enabled, 0: disabledpublic Long getTimeOut()
public void setTimeOut(Long TimeOut)
TimeOut
- Response timeout period in secondspublic Long getInterval()
public void setInterval(Long Interval)
Interval
- Detection interval in secondspublic Long getKickNum()
public void setKickNum(Long KickNum)
KickNum
- Unhealthy threshold in times.public Long getAliveNum()
public void setAliveNum(Long AliveNum)
AliveNum
- Healthy threshold in times.public Long getKeepTime()
public void setKeepTime(Long KeepTime)
KeepTime
- Session persistence duration in secondsCopyright © 2024. All rights reserved.