public class CreateBasicAcceleratorRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
autoPay
Specifies whether to enable automatic payment.
|
Boolean |
autoRenew
Specifies whether to enable auto-renewal for the GA instance.
|
Integer |
autoRenewDuration
The auto-renewal period.
|
String |
autoUseCoupon
Specifies whether to automatically pay bills by using coupons.
|
String |
bandwidthBillingType
The bandwidth billing method.
|
String |
chargeType |
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun |
Integer |
duration
The subscription duration.
|
String |
pricingCycle
The billing cycle of the GA instance.
|
String |
promotionOptionNo |
String |
regionId
The ID of the region where you want to create the GA instance.
|
String |
resourceGroupId |
| 构造器和说明 |
|---|
CreateBasicAcceleratorRequest() |
@NameInMap(value="AutoPay") public Boolean autoPay
Specifies whether to enable automatic payment. Valid values:
* **false** (default): 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="AutoRenew") public Boolean autoRenew
Specifies whether to enable auto-renewal for the GA instance.
* **true**: enables auto-renewal.
* **false** (default): disables auto-renewal.
@NameInMap(value="AutoRenewDuration") public Integer autoRenewDuration
The auto-renewal period. Unit: months.
Valid values: **1** to **12**. Default value: **1**.
> This parameter is required only if **AutoRenew** is set to **true**.
@NameInMap(value="AutoUseCoupon") public String autoUseCoupon
Specifies whether to automatically pay bills by using coupons. Valid values:
* **true**: yes
* **false** (default): no
> This parameter is required only if **AutoPay** is set to **true**.
@NameInMap(value="BandwidthBillingType") public String bandwidthBillingType
The bandwidth billing method. Valid values:
* **BandwidthPackage**: billed based on bandwidth plans.
* **CDT**: billed based on data transfer.
@NameInMap(value="ChargeType") public String chargeType
@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 ensure that it is unique among all 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="DryRun") public Boolean dryRun
@NameInMap(value="Duration") public Integer duration
The subscription duration.
* If the **PricingCycle** parameter is set to **Month**, the valid values for the **Duration** parameter are **1** to **9**.
* If the **PricingCycle** parameter is set to **Year**, the valid values for the **Duration** parameter are **1** to **3**.
@NameInMap(value="PricingCycle") public String pricingCycle
The billing cycle of the GA instance. Valid values:
* **Month**: billed on a monthly basis.
* **Year**: billed on an annual basis.
@NameInMap(value="PromotionOptionNo") public String promotionOptionNo
@NameInMap(value="RegionId") public String regionId
The ID of the region where you want to create the GA instance. Set the value to **cn-hangzhou**.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
public static CreateBasicAcceleratorRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateBasicAcceleratorRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public CreateBasicAcceleratorRequest setAutoRenew(Boolean autoRenew)
public Boolean getAutoRenew()
public CreateBasicAcceleratorRequest setAutoRenewDuration(Integer autoRenewDuration)
public Integer getAutoRenewDuration()
public CreateBasicAcceleratorRequest setAutoUseCoupon(String autoUseCoupon)
public String getAutoUseCoupon()
public CreateBasicAcceleratorRequest setBandwidthBillingType(String bandwidthBillingType)
public String getBandwidthBillingType()
public CreateBasicAcceleratorRequest setChargeType(String chargeType)
public String getChargeType()
public CreateBasicAcceleratorRequest setClientToken(String clientToken)
public String getClientToken()
public CreateBasicAcceleratorRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateBasicAcceleratorRequest setDuration(Integer duration)
public Integer getDuration()
public CreateBasicAcceleratorRequest setPricingCycle(String pricingCycle)
public String getPricingCycle()
public CreateBasicAcceleratorRequest setPromotionOptionNo(String promotionOptionNo)
public String getPromotionOptionNo()
public CreateBasicAcceleratorRequest setRegionId(String regionId)
public String getRegionId()
public CreateBasicAcceleratorRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2023. All rights reserved.