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 Package tag.
|
String |
getBundleId()
Get Package ID.
|
String |
getBundleSalesState()
Get Package sale status.
|
String |
getBundleType()
Get Bundle type.
|
String |
getBundleTypeDescription()
Get Bundle type description
Note: This parameter may return null, indicating that no valid values can be obtained.
|
Long |
getCPU()
Get Number of CPU cores.
|
String |
getInternetChargeType()
Get Network billing mode.
|
Long |
getInternetMaxBandwidthOut()
Get Peak bandwidth in Mbps.
|
Long |
getMemory()
Get Memory size in GB.
|
Long |
getMonthlyTraffic()
Get Monthly network traffic in Gb.
|
Price |
getPrice()
Get Current package unit price information.
|
Boolean |
getSupportLinuxUnixPlatform()
Get Whether Linux/Unix is supported.
|
Boolean |
getSupportWindowsPlatform()
Get Whether Windows is supported.
|
Long |
getSystemDiskSize()
Get System disk size.
|
String |
getSystemDiskType()
Get System disk type.
|
void |
setBundleDisplayLabel(String BundleDisplayLabel)
Set Package tag.
|
void |
setBundleId(String BundleId)
Set Package ID.
|
void |
setBundleSalesState(String BundleSalesState)
Set Package sale status.
|
void |
setBundleType(String BundleType)
Set Bundle type.
|
void |
setBundleTypeDescription(String BundleTypeDescription)
Set Bundle type description
Note: This parameter may return null, indicating that no valid values can be obtained.
|
void |
setCPU(Long CPU)
Set Number of CPU cores.
|
void |
setInternetChargeType(String InternetChargeType)
Set Network billing mode.
|
void |
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set Peak bandwidth in Mbps.
|
void |
setMemory(Long Memory)
Set Memory size in GB.
|
void |
setMonthlyTraffic(Long MonthlyTraffic)
Set Monthly network traffic in Gb.
|
void |
setPrice(Price Price)
Set Current package unit price information.
|
void |
setSupportLinuxUnixPlatform(Boolean SupportLinuxUnixPlatform)
Set Whether Linux/Unix is supported.
|
void |
setSupportWindowsPlatform(Boolean SupportWindowsPlatform)
Set Whether Windows is supported.
|
void |
setSystemDiskSize(Long SystemDiskSize)
Set System disk size.
|
void |
setSystemDiskType(String SystemDiskType)
Set System disk type.
|
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
- Package ID.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GB.public String getSystemDiskType()
public void setSystemDiskType(String SystemDiskType)
SystemDiskType
- System disk type.
Valid values:
public Long getSystemDiskSize()
public void setSystemDiskSize(Long SystemDiskSize)
SystemDiskSize
- System disk size.public Long getMonthlyTraffic()
public void setMonthlyTraffic(Long MonthlyTraffic)
MonthlyTraffic
- Monthly network traffic in Gb.public Boolean getSupportLinuxUnixPlatform()
public void setSupportLinuxUnixPlatform(Boolean SupportLinuxUnixPlatform)
SupportLinuxUnixPlatform
- Whether Linux/Unix is supported.public Boolean getSupportWindowsPlatform()
public void setSupportWindowsPlatform(Boolean SupportWindowsPlatform)
SupportWindowsPlatform
- Whether Windows is supported.public Price getPrice()
public void setPrice(Price Price)
Price
- Current package unit price information.public Long getCPU()
public void setCPU(Long CPU)
CPU
- Number of CPU cores.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut
- Peak bandwidth in Mbps.public String getInternetChargeType()
public void setInternetChargeType(String InternetChargeType)
InternetChargeType
- Network billing mode.public String getBundleSalesState()
public void setBundleSalesState(String BundleSalesState)
BundleSalesState
- Package sale status. Valid values: AVAILABLE, SOLD_OUTpublic String getBundleType()
public void setBundleType(String BundleType)
BundleType
- Bundle type.
Valid values:
public String getBundleTypeDescription()
public void setBundleTypeDescription(String BundleTypeDescription)
BundleTypeDescription
- Bundle type description
Note: This parameter may return null, indicating that no valid values can be obtained.public String getBundleDisplayLabel()
public void setBundleDisplayLabel(String BundleDisplayLabel)
BundleDisplayLabel
- Package tag.
Valid values:
"ACTIVITY": promotional package
"NORMAL": regular package
"CAREFREE": carefree packageCopyright © 2023. All rights reserved.