public class RuleCheckParams extends AbstractModel
Constructor and Description |
---|
RuleCheckParams() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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 |
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, toJsonString
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.Copyright © 2020. All rights reserved.