public class HealthCheckConf extends AbstractModel
Constructor and Description |
---|
HealthCheckConf() |
HealthCheckConf(HealthCheckConf 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 |
getErrorThresholdPercentage()
Get Threshold percentage.
|
Boolean |
getIsHealthCheck()
Get Whether health check is enabled.
|
Long |
getRequestVolumeThreshold()
Get Health check threshold.
|
Long |
getSleepWindowInMilliseconds()
Get Window size.
|
void |
setErrorThresholdPercentage(Long ErrorThresholdPercentage)
Set Threshold percentage.
|
void |
setIsHealthCheck(Boolean IsHealthCheck)
Set Whether health check is enabled.
|
void |
setRequestVolumeThreshold(Long RequestVolumeThreshold)
Set Health check threshold.
|
void |
setSleepWindowInMilliseconds(Long SleepWindowInMilliseconds)
Set Window size.
|
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 HealthCheckConf()
public HealthCheckConf(HealthCheckConf source)
public Boolean getIsHealthCheck()
public void setIsHealthCheck(Boolean IsHealthCheck)
IsHealthCheck
- Whether health check is enabled.public Long getRequestVolumeThreshold()
public void setRequestVolumeThreshold(Long RequestVolumeThreshold)
RequestVolumeThreshold
- Health check threshold.public Long getSleepWindowInMilliseconds()
public void setSleepWindowInMilliseconds(Long SleepWindowInMilliseconds)
SleepWindowInMilliseconds
- Window size.public Long getErrorThresholdPercentage()
public void setErrorThresholdPercentage(Long ErrorThresholdPercentage)
ErrorThresholdPercentage
- Threshold percentage.Copyright © 2021. All rights reserved.