public class GoodsSpec extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
GoodsSpec()  | 
GoodsSpec(GoodsSpec 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 | 
|---|---|
Float | 
getCcu()
Get Ccu size. 
 | 
Long | 
getCpu()
Get Number of CPU cores. 
 | 
String | 
getDeviceType()
Get Machine type. 
 | 
Long | 
getGoodsNum()
Get Number of products
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
Long | 
getMemory()
Get Memory size in gb. 
 | 
Long | 
getStorageLimit()
Get Storage size. 
 | 
Long | 
getTimeSpan()
Get Purchase duration. 
 | 
String | 
getTimeUnit()
Get Duration unit. 
 | 
void | 
setCcu(Float Ccu)
Set Ccu size. 
 | 
void | 
setCpu(Long Cpu)
Set Number of CPU cores. 
 | 
void | 
setDeviceType(String DeviceType)
Set Machine type. 
 | 
void | 
setGoodsNum(Long GoodsNum)
Set Number of products
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setMemory(Long Memory)
Set Memory size in gb. 
 | 
void | 
setStorageLimit(Long StorageLimit)
Set Storage size. 
 | 
void | 
setTimeSpan(Long TimeSpan)
Set Purchase duration. 
 | 
void | 
setTimeUnit(String TimeUnit)
Set Duration unit. 
 | 
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 GoodsSpec()
public GoodsSpec(GoodsSpec source)
public Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum - Number of products
Note: This field may return null, indicating that no valid values can be obtained.public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of CPU cores. required for PREPAID and POSTPAID instance types.
Note: This field may return null, indicating that no valid values can be obtained.public Long getMemory()
public void setMemory(Long Memory)
Memory - Memory size in gb. required for PREPAID and POSTPAID instance types.
Note: This field may return null, indicating that no valid values can be obtained.public Float getCcu()
public void setCcu(Float Ccu)
Ccu - Ccu size. required for serverless type.
Note: This field may return null, indicating that no valid values can be obtained.public Long getStorageLimit()
public void setStorageLimit(Long StorageLimit)
StorageLimit - Storage size. required for PREPAID storage type.
Note: This field may return null, indicating that no valid values can be obtained.public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan - Purchase duration.
Note: This field may return null, indicating that no valid values can be obtained.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - Duration unit.
Note: This field may return null, indicating that no valid values can be obtained.public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType - Machine type.Copyright © 2025. All rights reserved.