public class ModifySiteMonitorRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
address
The URL or IP address that is monitored by the task.
|
String |
alertIds
The ID of the alert rule.
|
String |
customSchedule
The custom detection period.
|
String |
interval
The interval at which detection requests are sent.
|
String |
intervalUnit
The unit of the metric.
|
String |
ispCities
The information of the detection points.
|
String |
optionsJson
The extended options of the protocol that is used by the site monitoring task.
|
String |
regionId |
String |
taskId
The ID of the site monitoring task.
|
String |
taskName
The name of the site monitoring task.
|
| 构造器和说明 |
|---|
ModifySiteMonitorRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifySiteMonitorRequest |
build(Map<String,?> map) |
String |
getAddress() |
String |
getAlertIds() |
String |
getCustomSchedule() |
String |
getInterval() |
String |
getIntervalUnit() |
String |
getIspCities() |
String |
getOptionsJson() |
String |
getRegionId() |
String |
getTaskId() |
String |
getTaskName() |
ModifySiteMonitorRequest |
setAddress(String address) |
ModifySiteMonitorRequest |
setAlertIds(String alertIds) |
ModifySiteMonitorRequest |
setCustomSchedule(String customSchedule) |
ModifySiteMonitorRequest |
setInterval(String interval) |
ModifySiteMonitorRequest |
setIntervalUnit(String intervalUnit) |
ModifySiteMonitorRequest |
setIspCities(String ispCities) |
ModifySiteMonitorRequest |
setOptionsJson(String optionsJson) |
ModifySiteMonitorRequest |
setRegionId(String regionId) |
ModifySiteMonitorRequest |
setTaskId(String taskId) |
ModifySiteMonitorRequest |
setTaskName(String taskName) |
@NameInMap(value="Address") public String address
The URL or IP address that is monitored by the task.
@NameInMap(value="AlertIds") public String alertIds
The ID of the alert rule. You can call the DescribeMetricRuleList operation to query the IDs of existing alert rules in CloudMonitor. For more information, see [DescribeMetricRuleList](~~114941~~).
@NameInMap(value="CustomSchedule") public String customSchedule
The custom detection period. You can only select a time period from Monday to Sunday for detection.
@NameInMap(value="Interval") public String interval
The interval at which detection requests are sent. Valid values: 1, 5, and 15. Unit: minutes. Default value: 1.
@NameInMap(value="IntervalUnit") public String intervalUnit
The unit of the metric.
Unit: milliseconds.
@NameInMap(value="IspCities") public String ispCities
The information of the detection points. The value is a JSON array. Example: `[{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}]`. The values of the `city` field indicate Beijing, Hangzhou, and Qingdao.
> You can call the DescribeSiteMonitorISPCityList operation to query the detection points. For more information, see [DescribeSiteMonitorISPCityList](~~115045~~). If you leave this parameter empty, the system randomly selects three detection points.
@NameInMap(value="OptionsJson") public String optionsJson
The extended options of the protocol that is used by the site monitoring task. The options vary based on the protocol.
@NameInMap(value="RegionId") public String regionId
@NameInMap(value="TaskId") public String taskId
The ID of the site monitoring task.
@NameInMap(value="TaskName") public String taskName
The name of the site monitoring task. The name must be 4 to 100 characters in length, and can contain letters, digits, and underscores (\_).
public static ModifySiteMonitorRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifySiteMonitorRequest setAddress(String address)
public String getAddress()
public ModifySiteMonitorRequest setAlertIds(String alertIds)
public String getAlertIds()
public ModifySiteMonitorRequest setCustomSchedule(String customSchedule)
public String getCustomSchedule()
public ModifySiteMonitorRequest setInterval(String interval)
public String getInterval()
public ModifySiteMonitorRequest setIntervalUnit(String intervalUnit)
public String getIntervalUnit()
public ModifySiteMonitorRequest setIspCities(String ispCities)
public String getIspCities()
public ModifySiteMonitorRequest setOptionsJson(String optionsJson)
public String getOptionsJson()
public ModifySiteMonitorRequest setRegionId(String regionId)
public String getRegionId()
public ModifySiteMonitorRequest setTaskId(String taskId)
public String getTaskId()
public ModifySiteMonitorRequest setTaskName(String taskName)
public String getTaskName()
Copyright © 2024. All rights reserved.