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 endpoint group ID.
|
String |
endpointType
The type of the endpoint.
|
String |
probePort
The port that is used to monitor latency.
|
String |
probeProtocol
The protocol that is used to monitor latency.
|
String |
regionId
The region ID of the GA instance.
|
构造器和说明 |
---|
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 token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="Enable") public String enable
Specifies whether to enable latency monitoring. Valid values:
* **true**
* **false** (default)
@NameInMap(value="Endpoint") public String endpoint
The endpoint.
@NameInMap(value="EndpointGroupId") public String endpointGroupId
The endpoint group ID.
@NameInMap(value="EndpointType") public String endpointType
The type of the 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:** TCP.
* **icmp:** ICMP.
@NameInMap(value="RegionId") public String regionId
The region ID of the GA instance. Set the value to **cn-hangzhou**.
public static ConfigEndpointProbeRequest build(Map<String,?> map) throws Exception
Exception
public 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 © 2024. All rights reserved.