public class Bundle extends AbstractModel
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:存储型
|
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 系统盘大小。
|
String |
getSystemDiskType()
Get 系统盘类型。
取值范围:
LOCAL_BASIC:本地硬盘 LOCAL_SSD:本地 SSD 硬盘 CLOUD_BASIC:普通云硬盘 CLOUD_SSD:SSD 云硬盘 CLOUD_PREMIUM:高性能云硬盘
|
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:存储型
|
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 系统盘大小。
|
void |
setSystemDiskType(String SystemDiskType)
Set 系统盘类型。
取值范围:
LOCAL_BASIC:本地硬盘 LOCAL_SSD:本地 SSD 硬盘 CLOUD_BASIC:普通云硬盘 CLOUD_SSD:SSD 云硬盘 CLOUD_PREMIUM:高性能云硬盘
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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
- 系统盘大小。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 getBundleDisplayLabel()
public void setBundleDisplayLabel(String BundleDisplayLabel)
BundleDisplayLabel
- 套餐展示标签.
取值范围:
"ACTIVITY": 活动套餐,
"NORMAL": 普通套餐
"CAREFREE": 无忧套餐Copyright © 2022. All rights reserved.