public class GetHealthStatusRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceleratorId
The ID of the GA instance that you want to query.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether only to precheck the request.
|
String |
listenerId
The ID of the listener.
|
String |
regionId
The ID of the region where the Global Accelerator (GA) instance is deployed.
|
构造器和说明 |
---|
GetHealthStatusRequest() |
限定符和类型 | 方法和说明 |
---|---|
static GetHealthStatusRequest |
build(Map<String,?> map) |
String |
getAcceleratorId() |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getListenerId() |
String |
getRegionId() |
GetHealthStatusRequest |
setAcceleratorId(String acceleratorId) |
GetHealthStatusRequest |
setClientToken(String clientToken) |
GetHealthStatusRequest |
setDryRun(Boolean dryRun) |
GetHealthStatusRequest |
setListenerId(String listenerId) |
GetHealthStatusRequest |
setRegionId(String regionId) |
@NameInMap(value="AcceleratorId") public String acceleratorId
The ID of the GA instance that you want to query.
@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 and cannot exceed 64 characters in length.
> 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="DryRun") public Boolean dryRun
Specifies whether only to precheck the request. Valid values:
* **true**: prechecks the request only. The health status of the listener is not queried. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
* **false** (default): sends a normal request. If the request passes the precheck, a 2xx HTTP status code is returned and the health status of the listener is obtained.
@NameInMap(value="ListenerId") public String listenerId
The ID of the listener.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to **cn-hangzhou**.
public static GetHealthStatusRequest build(Map<String,?> map) throws Exception
Exception
public GetHealthStatusRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public GetHealthStatusRequest setClientToken(String clientToken)
public String getClientToken()
public GetHealthStatusRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public GetHealthStatusRequest setListenerId(String listenerId)
public String getListenerId()
public GetHealthStatusRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.