public class UpdateBandwidthPackageRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
autoPay
Specifies whether to enable automatic payment.
|
Boolean |
autoUseCoupon
Specifies whether to use coupons.
|
Integer |
bandwidth
The bandwidth value of the bandwidth plan.
|
String |
bandwidthPackageId
The ID of the bandwidth plan that you want to modify.
|
String |
bandwidthType
The type of bandwidth.
|
String |
description
The description of the bandwidth plan.
|
String |
name
The name of the bandwidth plan.
|
String |
regionId
The ID of the region where the GA instance is deployed.
|
| 构造器和说明 |
|---|
UpdateBandwidthPackageRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateBandwidthPackageRequest |
build(Map<String,?> map) |
Boolean |
getAutoPay() |
Boolean |
getAutoUseCoupon() |
Integer |
getBandwidth() |
String |
getBandwidthPackageId() |
String |
getBandwidthType() |
String |
getDescription() |
String |
getName() |
String |
getRegionId() |
UpdateBandwidthPackageRequest |
setAutoPay(Boolean autoPay) |
UpdateBandwidthPackageRequest |
setAutoUseCoupon(Boolean autoUseCoupon) |
UpdateBandwidthPackageRequest |
setBandwidth(Integer bandwidth) |
UpdateBandwidthPackageRequest |
setBandwidthPackageId(String bandwidthPackageId) |
UpdateBandwidthPackageRequest |
setBandwidthType(String bandwidthType) |
UpdateBandwidthPackageRequest |
setDescription(String description) |
UpdateBandwidthPackageRequest |
setName(String name) |
UpdateBandwidthPackageRequest |
setRegionId(String regionId) |
@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 use coupons. Default value: false. Valid values:
* **true**: uses coupons.
* **false**: does not use coupons.
@NameInMap(value="Bandwidth") public Integer bandwidth
The bandwidth value of the bandwidth plan. Unit: Mbit/s.
Valid values: **2** to **2000**.
@NameInMap(value="BandwidthPackageId") public String bandwidthPackageId
The ID of the bandwidth plan that you want to modify.
@NameInMap(value="BandwidthType") public String bandwidthType
The type of bandwidth. Valid values:
* **Basic**: basic
* **Enhanced**: enhanced
* **Advanced**: premium
> You can only upgrade **Basic** bandwidth to **Enhanced** bandwidth. You cannot change **Enhanced** bandwidth or **Advanced** bandwidth to another type.
@NameInMap(value="Description") public String description
The description of the bandwidth plan.
The description can be up to 256 characters in length.
@NameInMap(value="Name") public String name
The name of the bandwidth plan.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the GA instance is deployed. Set the value to **cn-hangzhou**.
public static UpdateBandwidthPackageRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateBandwidthPackageRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public UpdateBandwidthPackageRequest setAutoUseCoupon(Boolean autoUseCoupon)
public Boolean getAutoUseCoupon()
public UpdateBandwidthPackageRequest setBandwidth(Integer bandwidth)
public Integer getBandwidth()
public UpdateBandwidthPackageRequest setBandwidthPackageId(String bandwidthPackageId)
public String getBandwidthPackageId()
public UpdateBandwidthPackageRequest setBandwidthType(String bandwidthType)
public String getBandwidthType()
public UpdateBandwidthPackageRequest setDescription(String description)
public String getDescription()
public UpdateBandwidthPackageRequest setName(String name)
public String getName()
public UpdateBandwidthPackageRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2023. All rights reserved.