public class UpdateAcceleratorRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
acceleratorId
The ID of the GA instance.
|
Boolean |
autoPay
Specifies whether to enable automatic payment.
|
Boolean |
autoUseCoupon
Specifies whether to automatically pay bills by using coupons.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the GA instance.
|
String |
name
The name of the GA instance.
|
String |
regionId
The region where the GA instance is deployed.
|
String |
spec
The specification of the GA instance.
|
| 构造器和说明 |
|---|
UpdateAcceleratorRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateAcceleratorRequest |
build(Map<String,?> map) |
String |
getAcceleratorId() |
Boolean |
getAutoPay() |
Boolean |
getAutoUseCoupon() |
String |
getClientToken() |
String |
getDescription() |
String |
getName() |
String |
getRegionId() |
String |
getSpec() |
UpdateAcceleratorRequest |
setAcceleratorId(String acceleratorId) |
UpdateAcceleratorRequest |
setAutoPay(Boolean autoPay) |
UpdateAcceleratorRequest |
setAutoUseCoupon(Boolean autoUseCoupon) |
UpdateAcceleratorRequest |
setClientToken(String clientToken) |
UpdateAcceleratorRequest |
setDescription(String description) |
UpdateAcceleratorRequest |
setName(String name) |
UpdateAcceleratorRequest |
setRegionId(String regionId) |
UpdateAcceleratorRequest |
setSpec(String spec) |
@NameInMap(value="AcceleratorId") public String acceleratorId
The ID of the GA instance.
@NameInMap(value="AutoPay") public Boolean autoPay
Specifies whether to enable automatic payment. Default value: false. Valid values:
* **false**: disables automatic payment. If you select this option, you must go to the Order Center to complete the payment after an order is generated.
* **true**: enables automatic payment. Payments are automatically completed.
@NameInMap(value="AutoUseCoupon") public Boolean autoUseCoupon
Specifies whether to automatically pay bills by using coupons. Default value: false. Valid values:
* **true**: yes
* **false**: no
> This parameter is required only if **AutoPay** is set to **true**.
@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. The client token 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="Description") public String description
The description of the GA instance. The description can be up to 200 characters in length.
@NameInMap(value="Name") public String name
The name of the GA instance.
The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter.
@NameInMap(value="RegionId") public String regionId
The region where the GA instance is deployed. Set the value to **cn-hangzhou**.
@NameInMap(value="Spec") public String spec
The specification of the GA instance. Valid values:
* **1**: Small Ⅰ
* **2**: Small Ⅱ
* **3**: Small Ⅲ
* **5**: Medium Ⅰ
* **8**: Medium Ⅱ
* **10**: Medium Ⅲ
* **20**: Large Ⅰ
* **30**: Large Ⅱ
* **40**: Large Ⅲ
* **50**: Large Ⅳ
* **60**: Large Ⅴ
* **70**: Large Ⅵ
* **80**: Large VⅡ
* **90**: Large VⅢ
* **100**: Super Large Ⅰ
* **200**: Super Large Ⅱ
* **300**: Super Large Ⅲ
> The Large Ⅲ specification and higher specifications are available only for accounts that are added to the whitelist. To use other specifications of GA instances, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
Each instance specification provides different capabilities. For more information, see the "Specifications of standard GA instances" section in [Overview](~~153127~~).
public static UpdateAcceleratorRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateAcceleratorRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public UpdateAcceleratorRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public UpdateAcceleratorRequest setAutoUseCoupon(Boolean autoUseCoupon)
public Boolean getAutoUseCoupon()
public UpdateAcceleratorRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateAcceleratorRequest setDescription(String description)
public String getDescription()
public UpdateAcceleratorRequest setName(String name)
public String getName()
public UpdateAcceleratorRequest setRegionId(String regionId)
public String getRegionId()
public UpdateAcceleratorRequest setSpec(String spec)
public String getSpec()
Copyright © 2023. All rights reserved.