Class L4RuleHealth
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dayu.v20180709.models.L4RuleHealth
-
public class L4RuleHealth extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAliveNum()Get 健康阈值,单位次LonggetEnable()Get =1表示开启;=0表示关闭LonggetInterval()Get 检测间隔时间,单位秒,必须要大于响应超时时间LonggetKickNum()Get 不健康阈值,单位次StringgetRuleId()Get 规则IDLonggetTimeOut()Get 响应超时时间,单位秒voidsetAliveNum(Long AliveNum)Set 健康阈值,单位次voidsetEnable(Long Enable)Set =1表示开启;=0表示关闭voidsetInterval(Long Interval)Set 检测间隔时间,单位秒,必须要大于响应超时时间voidsetKickNum(Long KickNum)Set 不健康阈值,单位次voidsetRuleId(String RuleId)Set 规则IDvoidsetTimeOut(Long TimeOut)Set 响应超时时间,单位秒voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
L4RuleHealth
public L4RuleHealth()
-
L4RuleHealth
public 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.
-
-
Method Detail
-
getRuleId
public String getRuleId()
Get 规则ID- Returns:
- RuleId 规则ID
-
setRuleId
public void setRuleId(String RuleId)
Set 规则ID- Parameters:
RuleId- 规则ID
-
getEnable
public Long getEnable()
Get =1表示开启;=0表示关闭- Returns:
- Enable =1表示开启;=0表示关闭
-
setEnable
public void setEnable(Long Enable)
Set =1表示开启;=0表示关闭- Parameters:
Enable- =1表示开启;=0表示关闭
-
getTimeOut
public Long getTimeOut()
Get 响应超时时间,单位秒- Returns:
- TimeOut 响应超时时间,单位秒
-
setTimeOut
public void setTimeOut(Long TimeOut)
Set 响应超时时间,单位秒- Parameters:
TimeOut- 响应超时时间,单位秒
-
getInterval
public Long getInterval()
Get 检测间隔时间,单位秒,必须要大于响应超时时间- Returns:
- Interval 检测间隔时间,单位秒,必须要大于响应超时时间
-
setInterval
public void setInterval(Long Interval)
Set 检测间隔时间,单位秒,必须要大于响应超时时间- Parameters:
Interval- 检测间隔时间,单位秒,必须要大于响应超时时间
-
getKickNum
public Long getKickNum()
Get 不健康阈值,单位次- Returns:
- KickNum 不健康阈值,单位次
-
setKickNum
public void setKickNum(Long KickNum)
Set 不健康阈值,单位次- Parameters:
KickNum- 不健康阈值,单位次
-
getAliveNum
public Long getAliveNum()
Get 健康阈值,单位次- Returns:
- AliveNum 健康阈值,单位次
-
setAliveNum
public void setAliveNum(Long AliveNum)
Set 健康阈值,单位次- Parameters:
AliveNum- 健康阈值,单位次
-
-