public static final class ModifyNetworkPackageBandwidthRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyNetworkPackageBandwidthRequest.Builder |
autoPay(Boolean autoPay)
Specifies whether to enable the automatic payment feature.
|
ModifyNetworkPackageBandwidthRequest.Builder |
bandwidth(Integer bandwidth)
The bandwidth provided by the premium bandwidth plan.
|
ModifyNetworkPackageBandwidthRequest |
build() |
ModifyNetworkPackageBandwidthRequest.Builder |
networkPackageId(String networkPackageId)
The ID of the premium bandwidth plan.
|
ModifyNetworkPackageBandwidthRequest.Builder |
promotionId(String promotionId)
The promotion ID.
|
ModifyNetworkPackageBandwidthRequest.Builder |
regionId(String regionId)
The region ID.
|
public ModifyNetworkPackageBandwidthRequest.Builder autoPay(Boolean autoPay)
Valid values: * true (default): enables the auto-payment feature. Make sure that your account has sufficient balance. Otherwise, no order is generated. * false: disables the auto-payment feature. In this case, an order is generated but you need to make the payment manually. To make the payment, log on to the Elastic Desktop Service console, go to the Orders page, and find the order based on the order ID.
public ModifyNetworkPackageBandwidthRequest.Builder bandwidth(Integer bandwidth)
* Valid values if the premium bandwidth plan is a subscription plan: 2 to 1000. * Valid values if the premium bandwidth plan is a pay-as-you-go plan that charges by data transfer (PayByTraffic): 2 to 200. * Valid values if the premium bandwidth plan is a pay-as-you-go plan that charges by fixed bandwidth (PayByBandwidth): 2 to 1000.
public ModifyNetworkPackageBandwidthRequest.Builder networkPackageId(String networkPackageId)
public ModifyNetworkPackageBandwidthRequest.Builder promotionId(String promotionId)
public ModifyNetworkPackageBandwidthRequest.Builder regionId(String regionId)
public ModifyNetworkPackageBandwidthRequest build()
Copyright © 2024. All rights reserved.