public class CreateInstantSiteMonitorRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
address
The URL or IP address that you want to test.
|
String |
ispCities
The detection points.
|
String |
optionsJson
The extended options of the protocol that is used by the instant test task.
|
Integer |
randomIspCity
The number of detection points.
|
String |
regionId |
String |
taskName
The name of the instant test task.
|
String |
taskType
The type of the instant test task.
|
| 构造器和说明 |
|---|
CreateInstantSiteMonitorRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateInstantSiteMonitorRequest |
build(Map<String,?> map) |
String |
getAddress() |
String |
getIspCities() |
String |
getOptionsJson() |
Integer |
getRandomIspCity() |
String |
getRegionId() |
String |
getTaskName() |
String |
getTaskType() |
CreateInstantSiteMonitorRequest |
setAddress(String address) |
CreateInstantSiteMonitorRequest |
setIspCities(String ispCities) |
CreateInstantSiteMonitorRequest |
setOptionsJson(String optionsJson) |
CreateInstantSiteMonitorRequest |
setRandomIspCity(Integer randomIspCity) |
CreateInstantSiteMonitorRequest |
setRegionId(String regionId) |
CreateInstantSiteMonitorRequest |
setTaskName(String taskName) |
CreateInstantSiteMonitorRequest |
setTaskType(String taskType) |
@NameInMap(value="Address") public String address
The URL or IP address that you want to test.
@NameInMap(value="IspCities") public String ispCities
The detection points. If you leave this parameter empty, the system randomly selects three 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.
For information about how to obtain detection points, see [DescribeSiteMonitorISPCityList](~~115045~~).
> You must specify one of the `IspCities` and `RandomIspCity` parameters.
@NameInMap(value="OptionsJson") public String optionsJson
The extended options of the protocol that is used by the instant test task. The options vary based on the protocol.
@NameInMap(value="RandomIspCity") public Integer randomIspCity
The number of detection points.
>
* You must specify one of the `IspCities` and `RandomIspCity` parameters. If you specify the `RandomIspCity` parameter, the `IspCities` parameter automatically becomes invalid.
@NameInMap(value="RegionId") public String regionId
@NameInMap(value="TaskName") public String taskName
The name of the instant test task.
The name must be 4 to 100 characters in length, and can contain letters, digits, and underscores (\_).
@NameInMap(value="TaskType") public String taskType
The type of the instant test task. Valid values: HTTP, PING, TCP, UDP, and DNS.
public static CreateInstantSiteMonitorRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateInstantSiteMonitorRequest setAddress(String address)
public String getAddress()
public CreateInstantSiteMonitorRequest setIspCities(String ispCities)
public String getIspCities()
public CreateInstantSiteMonitorRequest setOptionsJson(String optionsJson)
public String getOptionsJson()
public CreateInstantSiteMonitorRequest setRandomIspCity(Integer randomIspCity)
public Integer getRandomIspCity()
public CreateInstantSiteMonitorRequest setRegionId(String regionId)
public String getRegionId()
public CreateInstantSiteMonitorRequest setTaskName(String taskName)
public String getTaskName()
public CreateInstantSiteMonitorRequest setTaskType(String taskType)
public String getTaskType()
Copyright © 2024. All rights reserved.