public class ConfigEndpointProbeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
enable
Specifies whether to enable latency monitoring.
|
String |
endpoint
The endpoint.
|
String |
endpointGroupId
The ID of the endpoint group.
|
String |
endpointType
The type of endpoint.
|
String |
probePort
The port that is used to monitor latency.
|
String |
probeProtocol
The protocol that is used to monitor latency.
|
String |
regionId
The ID of the region where the GA instance is deployed.
|
| 构造器和说明 |
|---|
ConfigEndpointProbeRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConfigEndpointProbeRequest |
build(Map<String,?> map) |
String |
getClientToken() |
String |
getEnable() |
String |
getEndpoint() |
String |
getEndpointGroupId() |
String |
getEndpointType() |
String |
getProbePort() |
String |
getProbeProtocol() |
String |
getRegionId() |
ConfigEndpointProbeRequest |
setClientToken(String clientToken) |
ConfigEndpointProbeRequest |
setEnable(String enable) |
ConfigEndpointProbeRequest |
setEndpoint(String endpoint) |
ConfigEndpointProbeRequest |
setEndpointGroupId(String endpointGroupId) |
ConfigEndpointProbeRequest |
setEndpointType(String endpointType) |
ConfigEndpointProbeRequest |
setProbePort(String probePort) |
ConfigEndpointProbeRequest |
setProbeProtocol(String probeProtocol) |
ConfigEndpointProbeRequest |
setRegionId(String regionId) |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters.
> If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** may be different for each API request.
@NameInMap(value="Enable") public String enable
Specifies whether to enable latency monitoring. Default value: false. Valid values:
* **true**: enables latency monitoring.
* **false**: disables latency monitoring.
@NameInMap(value="Endpoint") public String endpoint
The endpoint.
@NameInMap(value="EndpointGroupId") public String endpointGroupId
The ID of the endpoint group.
@NameInMap(value="EndpointType") public String endpointType
The type of endpoint. Valid values:
* **Ip**: a custom IP address
* **Domain**: a custom domain name
* **EIP**: an Alibaba Cloud elastic IP address (EIP)
* **PublicIp**: an Alibaba Cloud public IP address
@NameInMap(value="ProbePort") public String probePort
The port that is used to monitor latency. Valid values: **0** to **65535**.
@NameInMap(value="ProbeProtocol") public String probeProtocol
The protocol that is used to monitor latency. Valid values:
* **tcp**
* **icmp**
@NameInMap(value="RegionId") public String regionId
The ID of the region where the GA instance is deployed. Set the value to **cn-hangzhou**.
public static ConfigEndpointProbeRequest build(Map<String,?> map) throws Exception
Exceptionpublic ConfigEndpointProbeRequest setClientToken(String clientToken)
public String getClientToken()
public ConfigEndpointProbeRequest setEnable(String enable)
public String getEnable()
public ConfigEndpointProbeRequest setEndpoint(String endpoint)
public String getEndpoint()
public ConfigEndpointProbeRequest setEndpointGroupId(String endpointGroupId)
public String getEndpointGroupId()
public ConfigEndpointProbeRequest setEndpointType(String endpointType)
public String getEndpointType()
public ConfigEndpointProbeRequest setProbePort(String probePort)
public String getProbePort()
public ConfigEndpointProbeRequest setProbeProtocol(String probeProtocol)
public String getProbeProtocol()
public ConfigEndpointProbeRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2023. All rights reserved.