public class L4RuleHealth extends AbstractModel
header, skipSign| Constructor and Description |
|---|
L4RuleHealth() |
L4RuleHealth(L4RuleHealth 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, which must be greater than the response timeout period
|
Long |
getKickNum()
Get Unhealthy threshold in times
|
String |
getRuleId()
Get Rule ID
|
Long |
getTimeOut()
Get Response timeout period in seconds
|
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, which must be greater than the response timeout period
|
void |
setKickNum(Long KickNum)
Set Unhealthy threshold in times
|
void |
setRuleId(String RuleId)
Set Rule ID
|
void |
setTimeOut(Long TimeOut)
Set Response timeout period in seconds
|
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 L4RuleHealth()
public L4RuleHealth(L4RuleHealth source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId - Rule IDpublic 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 seconds, which must be greater than the response timeout periodpublic Long getKickNum()
public void setKickNum(Long KickNum)
KickNum - Unhealthy threshold in timespublic Long getAliveNum()
public void setAliveNum(Long AliveNum)
AliveNum - Healthy threshold in times.Copyright © 2025. All rights reserved.