public class GetSpareIpRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
acceleratorId
The ID of the GA instance.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to only precheck this request.
|
String |
regionId
The ID of the region where the Global Accelerator (GA) instance is deployed.
|
String |
spareIp
The secondary IP address that is associated with the CNAME.
|
| 构造器和说明 |
|---|
GetSpareIpRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetSpareIpRequest |
build(Map<String,?> map) |
String |
getAcceleratorId() |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getRegionId() |
String |
getSpareIp() |
GetSpareIpRequest |
setAcceleratorId(String acceleratorId) |
GetSpareIpRequest |
setClientToken(String clientToken) |
GetSpareIpRequest |
setDryRun(Boolean dryRun) |
GetSpareIpRequest |
setRegionId(String regionId) |
GetSpareIpRequest |
setSpareIp(String spareIp) |
@NameInMap(value="AcceleratorId") public String acceleratorId
The ID of the GA instance.
@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.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to only precheck this request. Default value: false. Valid values:
* **true**: prechecks the request without performing the operation. 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**: sends the request. If the request passes the precheck, a 2xx HTTP status code is returned and the operation is performed.
@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**.
@NameInMap(value="SpareIp") public String spareIp
The secondary IP address that is associated with the CNAME. If the acceleration area becomes unavailable, GA redirects traffic to the secondary IP address.
public static GetSpareIpRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetSpareIpRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public GetSpareIpRequest setClientToken(String clientToken)
public String getClientToken()
public GetSpareIpRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public GetSpareIpRequest setRegionId(String regionId)
public String getRegionId()
public GetSpareIpRequest setSpareIp(String spareIp)
public String getSpareIp()
Copyright © 2023. All rights reserved.