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 region ID of the GA instance.
|
构造器和说明 |
---|
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. Valid values:
* **false**: disables automatic payment. This is the default value. If you select this option, you must go to [Order Center](https://usercenter2-intl.aliyun.com/order/list) to complete the payment after an order is generated.
* **true**: enables automatic payment. Payments are automatically completed.
> This parameter takes effect only if you call the UpdateBandwidthPackage operation to upgrade a bandwidth plan.
@NameInMap(value="AutoUseCoupon") public Boolean autoUseCoupon
Specifies whether to use coupons. Valid values:
* **true**
* **false** (default)
@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**
* **Enhanced**
* **Advanced**
> You can upgrade **Basic** bandwidth to **Enhanced** bandwidth or downgrade Enhanced bandwidth to Basic bandwidth. You cannot change **Advanced** bandwidth to another type of bandwidth.
@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 region ID of the GA instance. Set the value to **cn-hangzhou**.
public static UpdateBandwidthPackageRequest build(Map<String,?> map) throws Exception
Exception
public 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 © 2024. All rights reserved.