public class RuleCheckParams extends AbstractModel
| Constructor and Description | 
|---|
| RuleCheckParams() | 
| RuleCheckParams(RuleCheckParams 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 | getBlockInter()Get Duration to block requests targeting the origin server after a failed health check
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| Long | getConnectTimeout()Get Response timeout of health check | 
| Long | getDelayLoop()Get Time interval of health check | 
| String | getDomain()Get Domain name to be performed health check
You cannot modify this parameter when calling ModifyRuleAttribute API. | 
| Long | getFailedCountInter()Get Origin server failure check frequency
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| Long | getFailedThreshold()Get Origin server health check threshold. | 
| String | getMethod()Get Health check method: GET/HEAD | 
| String | getPath()Get Check path of health check | 
| Long[] | getStatusCode()Get Return code indicting normal origin servers. | 
| void | setBlockInter(Long BlockInter)Set Duration to block requests targeting the origin server after a failed health check
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setConnectTimeout(Long ConnectTimeout)Set Response timeout of health check | 
| void | setDelayLoop(Long DelayLoop)Set Time interval of health check | 
| void | setDomain(String Domain)Set Domain name to be performed health check
You cannot modify this parameter when calling ModifyRuleAttribute API. | 
| void | setFailedCountInter(Long FailedCountInter)Set Origin server failure check frequency
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setFailedThreshold(Long FailedThreshold)Set Origin server health check threshold. | 
| void | setMethod(String Method)Set Health check method: GET/HEAD | 
| void | setPath(String Path)Set Check path of health check | 
| void | setStatusCode(Long[] StatusCode)Set Return code indicting normal origin servers. | 
| 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, toJsonStringpublic RuleCheckParams()
public RuleCheckParams(RuleCheckParams source)
public Long getDelayLoop()
public void setDelayLoop(Long DelayLoop)
DelayLoop - Time interval of health checkpublic Long getConnectTimeout()
public void setConnectTimeout(Long ConnectTimeout)
ConnectTimeout - Response timeout of health checkpublic String getPath()
public void setPath(String Path)
Path - Check path of health checkpublic String getMethod()
public void setMethod(String Method)
Method - Health check method: GET/HEADpublic Long[] getStatusCode()
public void setStatusCode(Long[] StatusCode)
StatusCode - Return code indicting normal origin servers. Value range: [100, 200, 300, 400, 500]public String getDomain()
public void setDomain(String Domain)
Domain - Domain name to be performed health check
You cannot modify this parameter when calling ModifyRuleAttribute API.public Long getFailedCountInter()
public void setFailedCountInter(Long FailedCountInter)
FailedCountInter - Origin server failure check frequency
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getFailedThreshold()
public void setFailedThreshold(Long FailedThreshold)
FailedThreshold - Origin server health check threshold. All requests to the origin server will be blocked once the threshold is exceeded.
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getBlockInter()
public void setBlockInter(Long BlockInter)
BlockInter - Duration to block requests targeting the origin server after a failed health check
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.