public class CreateSpareIpsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceleratorId
The GA instance ID.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
regionId
The region ID of the GA instance.
|
List<String> |
spareIps
The secondary IP addresses to be created for the CNAME.
|
构造器和说明 |
---|
CreateSpareIpsRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CreateSpareIpsRequest |
build(Map<String,?> map) |
String |
getAcceleratorId() |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getRegionId() |
List<String> |
getSpareIps() |
CreateSpareIpsRequest |
setAcceleratorId(String acceleratorId) |
CreateSpareIpsRequest |
setClientToken(String clientToken) |
CreateSpareIpsRequest |
setDryRun(Boolean dryRun) |
CreateSpareIpsRequest |
setRegionId(String regionId) |
CreateSpareIpsRequest |
setSpareIps(List<String> spareIps) |
@NameInMap(value="AcceleratorId") public String acceleratorId
The GA instance ID.
@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="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
* **true:** performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false** (defalut): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
@NameInMap(value="RegionId") public String regionId
The region ID of the GA instance. Set the value to **cn-hangzhou**.
public static CreateSpareIpsRequest build(Map<String,?> map) throws Exception
Exception
public CreateSpareIpsRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public CreateSpareIpsRequest setClientToken(String clientToken)
public String getClientToken()
public CreateSpareIpsRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateSpareIpsRequest setRegionId(String regionId)
public String getRegionId()
public CreateSpareIpsRequest setSpareIps(List<String> spareIps)
Copyright © 2024. All rights reserved.