public class Bundle extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Bundle() | 
| Bundle(Bundle source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBundleDisplayLabel()Get 套餐展示标签. | 
| String | getBundleId()Get 套餐 ID。 | 
| String | getBundleSalesState()Get 套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄) | 
| String | getBundleType()Get 套餐类型。
取值范围:
GENERAL_BUNDLE:通用型
STORAGE_BUNDLE:存储型
ENTERPRISE_BUNDLE:企业型
EXCLUSIVE_BUNDLE:专属型
BEFAST_BUNDLE:蜂驰型 
STARTER_BUNDLE:入门型
CAREFREE_BUNDLE:无忧型
RAZOR_SPEED_BUNDLE:锐驰型 | 
| String | getBundleTypeDescription()Get 套餐类型描述信息。 | 
| Long | getCPU()Get CPU 核数。 | 
| String | getInternetChargeType()Get 网络计费类型。 | 
| Long | getInternetMaxBandwidthOut()Get 峰值带宽,单位 Mbps。 | 
| Long | getMemory()Get 内存大小,单位 GB。 | 
| Long | getMonthlyTraffic()Get 每月网络流量,单位 GB。 | 
| Price | getPrice()Get 套餐当前单位价格信息。 | 
| Boolean | getSupportLinuxUnixPlatform()Get 是否支持 Linux/Unix 平台。 | 
| Boolean | getSupportWindowsPlatform()Get 是否支持 Windows 平台。 | 
| Long | getSystemDiskSize()Get 系统盘大小。单位GB。 | 
| String | getSystemDiskType()Get 系统盘类型。
取值范围: 
 CLOUD_SSD:SSD 云硬盘 CLOUD_PREMIUM:高性能云硬盘 | 
| Boolean | getTrafficUnlimited()Get 流量是否无上限。 | 
| void | setBundleDisplayLabel(String BundleDisplayLabel)Set 套餐展示标签. | 
| void | setBundleId(String BundleId)Set 套餐 ID。 | 
| void | setBundleSalesState(String BundleSalesState)Set 套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄) | 
| void | setBundleType(String BundleType)Set 套餐类型。
取值范围:
GENERAL_BUNDLE:通用型
STORAGE_BUNDLE:存储型
ENTERPRISE_BUNDLE:企业型
EXCLUSIVE_BUNDLE:专属型
BEFAST_BUNDLE:蜂驰型 
STARTER_BUNDLE:入门型
CAREFREE_BUNDLE:无忧型
RAZOR_SPEED_BUNDLE:锐驰型 | 
| void | setBundleTypeDescription(String BundleTypeDescription)Set 套餐类型描述信息。 | 
| void | setCPU(Long CPU)Set CPU 核数。 | 
| void | setInternetChargeType(String InternetChargeType)Set 网络计费类型。 | 
| void | setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)Set 峰值带宽,单位 Mbps。 | 
| void | setMemory(Long Memory)Set 内存大小,单位 GB。 | 
| void | setMonthlyTraffic(Long MonthlyTraffic)Set 每月网络流量,单位 GB。 | 
| void | setPrice(Price Price)Set 套餐当前单位价格信息。 | 
| void | setSupportLinuxUnixPlatform(Boolean SupportLinuxUnixPlatform)Set 是否支持 Linux/Unix 平台。 | 
| void | setSupportWindowsPlatform(Boolean SupportWindowsPlatform)Set 是否支持 Windows 平台。 | 
| void | setSystemDiskSize(Long SystemDiskSize)Set 系统盘大小。单位GB。 | 
| void | setSystemDiskType(String SystemDiskType)Set 系统盘类型。
取值范围: 
 CLOUD_SSD:SSD 云硬盘 CLOUD_PREMIUM:高性能云硬盘 | 
| void | setTrafficUnlimited(Boolean TrafficUnlimited)Set 流量是否无上限。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Bundle()
public Bundle(Bundle source)
public String getBundleId()
public void setBundleId(String BundleId)
BundleId - 套餐 ID。public Long getMemory()
public void setMemory(Long Memory)
Memory - 内存大小,单位 GB。public String getSystemDiskType()
public void setSystemDiskType(String SystemDiskType)
SystemDiskType - 系统盘类型。
取值范围: 
public Long getSystemDiskSize()
public void setSystemDiskSize(Long SystemDiskSize)
SystemDiskSize - 系统盘大小。单位GB。public Long getMonthlyTraffic()
public void setMonthlyTraffic(Long MonthlyTraffic)
MonthlyTraffic - 每月网络流量,单位 GB。public Boolean getSupportLinuxUnixPlatform()
public void setSupportLinuxUnixPlatform(Boolean SupportLinuxUnixPlatform)
SupportLinuxUnixPlatform - 是否支持 Linux/Unix 平台。public Boolean getSupportWindowsPlatform()
public void setSupportWindowsPlatform(Boolean SupportWindowsPlatform)
SupportWindowsPlatform - 是否支持 Windows 平台。public Price getPrice()
public void setPrice(Price Price)
Price - 套餐当前单位价格信息。public Long getCPU()
public void setCPU(Long CPU)
CPU - CPU 核数。public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut - 峰值带宽,单位 Mbps。public String getInternetChargeType()
public void setInternetChargeType(String InternetChargeType)
InternetChargeType - 网络计费类型。public String getBundleSalesState()
public void setBundleSalesState(String BundleSalesState)
BundleSalesState - 套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄)public String getBundleType()
public void setBundleType(String BundleType)
BundleType - 套餐类型。
取值范围:
public String getBundleTypeDescription()
public void setBundleTypeDescription(String BundleTypeDescription)
BundleTypeDescription - 套餐类型描述信息。public String getBundleDisplayLabel()
public void setBundleDisplayLabel(String BundleDisplayLabel)
BundleDisplayLabel - 套餐展示标签.
取值范围:
"ACTIVITY": 活动套餐,
"NORMAL": 普通套餐
"CAREFREE": 无忧套餐public Boolean getTrafficUnlimited()
public void setTrafficUnlimited(Boolean TrafficUnlimited)
TrafficUnlimited - 流量是否无上限。Copyright © 2025. All rights reserved.