public class CreateMonitorRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateMonitorRequest() | 
| CreateMonitorRequest(CreateMonitorRequest 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 | getCheckInterval()Get 检查间隔(秒),可选值有15 60 120 300 | 
| String | getCheckProtocol()Get 探测协议,可选值 PING TCP HTTP HTTPS | 
| Long | getContinuePeriod()Get 持续周期数,可选值1-5 | 
| Long[] | getDetectorGroupIds()Get 探测器组id列表以,分隔 | 
| String | getDetectorStyle()Get 监控节点类型,可选值有AUTO INTERNAL OVERSEAS IPV6 ALL | 
| String | getEnableRedirect()Get 跟随 3XX 重定向 ,不开启为 DISABLED, 开启为 ENABLED,默认不开启 | 
| String | getEnableSni()Get 启用 SNI,不开启为 DISABLED, 开启为 ENABLED,默认不开启 | 
| Long | getFailRate()Get 失败比例,取值为 20 30 40 50 60 70 80 100,默认值50 | 
| Long | getFailTimes()Get 重试次数,可选值为 0,1,2 | 
| String | getHost()Get Host 设置,默认为业务域名 | 
| String | getMonitorName()Get 监控器名称 | 
| Long | getPacketLossRate()Get 丢包率告警阈值,当CheckProtocol=ping时必填取值为10 30 50 80 90 100 | 
| String | getPath()Get URL 路径,默认为“/” | 
| Long | getPingNum()Get PING 包数目,当CheckProtocol=ping时必填,可选值有20 50 100 | 
| Long | getReturnCodeThreshold()Get 返回错误码阈值, 可选值为 400 和 500, 默认值500 | 
| Long | getTcpPort()Get 检查端口,可选值在1-65535之间 | 
| Long | getTimeout()Get 超时时间,单位秒,可选值为2 3 5 10 | 
| void | setCheckInterval(Long CheckInterval)Set 检查间隔(秒),可选值有15 60 120 300 | 
| void | setCheckProtocol(String CheckProtocol)Set 探测协议,可选值 PING TCP HTTP HTTPS | 
| void | setContinuePeriod(Long ContinuePeriod)Set 持续周期数,可选值1-5 | 
| void | setDetectorGroupIds(Long[] DetectorGroupIds)Set 探测器组id列表以,分隔 | 
| void | setDetectorStyle(String DetectorStyle)Set 监控节点类型,可选值有AUTO INTERNAL OVERSEAS IPV6 ALL | 
| void | setEnableRedirect(String EnableRedirect)Set 跟随 3XX 重定向 ,不开启为 DISABLED, 开启为 ENABLED,默认不开启 | 
| void | setEnableSni(String EnableSni)Set 启用 SNI,不开启为 DISABLED, 开启为 ENABLED,默认不开启 | 
| void | setFailRate(Long FailRate)Set 失败比例,取值为 20 30 40 50 60 70 80 100,默认值50 | 
| void | setFailTimes(Long FailTimes)Set 重试次数,可选值为 0,1,2 | 
| void | setHost(String Host)Set Host 设置,默认为业务域名 | 
| void | setMonitorName(String MonitorName)Set 监控器名称 | 
| void | setPacketLossRate(Long PacketLossRate)Set 丢包率告警阈值,当CheckProtocol=ping时必填取值为10 30 50 80 90 100 | 
| void | setPath(String Path)Set URL 路径,默认为“/” | 
| void | setPingNum(Long PingNum)Set PING 包数目,当CheckProtocol=ping时必填,可选值有20 50 100 | 
| void | setReturnCodeThreshold(Long ReturnCodeThreshold)Set 返回错误码阈值, 可选值为 400 和 500, 默认值500 | 
| void | setTcpPort(Long TcpPort)Set 检查端口,可选值在1-65535之间 | 
| void | setTimeout(Long Timeout)Set 超时时间,单位秒,可选值为2 3 5 10 | 
| 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 CreateMonitorRequest()
public CreateMonitorRequest(CreateMonitorRequest source)
public String getMonitorName()
public void setMonitorName(String MonitorName)
MonitorName - 监控器名称public String getCheckProtocol()
public void setCheckProtocol(String CheckProtocol)
CheckProtocol - 探测协议,可选值 PING TCP HTTP HTTPSpublic Long getCheckInterval()
public void setCheckInterval(Long CheckInterval)
CheckInterval - 检查间隔(秒),可选值有15 60 120 300public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout - 超时时间,单位秒,可选值为2 3 5 10public Long getFailTimes()
public void setFailTimes(Long FailTimes)
FailTimes - 重试次数,可选值为 0,1,2public Long getFailRate()
public void setFailRate(Long FailRate)
FailRate - 失败比例,取值为 20 30 40 50 60 70 80 100,默认值50public String getDetectorStyle()
public void setDetectorStyle(String DetectorStyle)
DetectorStyle - 监控节点类型,可选值有AUTO INTERNAL OVERSEAS IPV6 ALLpublic Long[] getDetectorGroupIds()
public void setDetectorGroupIds(Long[] DetectorGroupIds)
DetectorGroupIds - 探测器组id列表以,分隔public Long getPingNum()
public void setPingNum(Long PingNum)
PingNum - PING 包数目,当CheckProtocol=ping时必填,可选值有20 50 100public Long getTcpPort()
public void setTcpPort(Long TcpPort)
TcpPort - 检查端口,可选值在1-65535之间public String getHost()
public void setHost(String Host)
Host - Host 设置,默认为业务域名public String getPath()
public void setPath(String Path)
Path - URL 路径,默认为“/”public Long getReturnCodeThreshold()
public void setReturnCodeThreshold(Long ReturnCodeThreshold)
ReturnCodeThreshold - 返回错误码阈值, 可选值为 400 和 500, 默认值500public String getEnableRedirect()
public void setEnableRedirect(String EnableRedirect)
EnableRedirect - 跟随 3XX 重定向 ,不开启为 DISABLED, 开启为 ENABLED,默认不开启public String getEnableSni()
public void setEnableSni(String EnableSni)
EnableSni - 启用 SNI,不开启为 DISABLED, 开启为 ENABLED,默认不开启public Long getPacketLossRate()
public void setPacketLossRate(Long PacketLossRate)
PacketLossRate - 丢包率告警阈值,当CheckProtocol=ping时必填取值为10 30 50 80 90 100public Long getContinuePeriod()
public void setContinuePeriod(Long ContinuePeriod)
ContinuePeriod - 持续周期数,可选值1-5Copyright © 2025. All rights reserved.