Class ClassInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.postgres.v20170312.models.ClassInfo
-
public class ClassInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCPU()
Get CPU核数Long
getMaxStorage()
Get 该规格所支持最大存储容量,单位:GBLong
getMemory()
Get 内存大小,单位:MBLong
getMinStorage()
Get 该规格所支持最小存储容量,单位:GBLong
getQPS()
Get 该规格的预估QPSString
getSpecCode()
Get 规格IDvoid
setCPU(Long CPU)
Set CPU核数void
setMaxStorage(Long MaxStorage)
Set 该规格所支持最大存储容量,单位:GBvoid
setMemory(Long Memory)
Set 内存大小,单位:MBvoid
setMinStorage(Long MinStorage)
Set 该规格所支持最小存储容量,单位:GBvoid
setQPS(Long QPS)
Set 该规格的预估QPSvoid
setSpecCode(String SpecCode)
Set 规格IDvoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ClassInfo
public ClassInfo()
-
ClassInfo
public ClassInfo(ClassInfo 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.
-
-
Method Detail
-
getSpecCode
public String getSpecCode()
Get 规格ID- Returns:
- SpecCode 规格ID
-
setSpecCode
public void setSpecCode(String SpecCode)
Set 规格ID- Parameters:
SpecCode
- 规格ID
-
getCPU
public Long getCPU()
Get CPU核数- Returns:
- CPU CPU核数
-
setCPU
public void setCPU(Long CPU)
Set CPU核数- Parameters:
CPU
- CPU核数
-
getMemory
public Long getMemory()
Get 内存大小,单位:MB- Returns:
- Memory 内存大小,单位:MB
-
setMemory
public void setMemory(Long Memory)
Set 内存大小,单位:MB- Parameters:
Memory
- 内存大小,单位:MB
-
getMaxStorage
public Long getMaxStorage()
Get 该规格所支持最大存储容量,单位:GB- Returns:
- MaxStorage 该规格所支持最大存储容量,单位:GB
-
setMaxStorage
public void setMaxStorage(Long MaxStorage)
Set 该规格所支持最大存储容量,单位:GB- Parameters:
MaxStorage
- 该规格所支持最大存储容量,单位:GB
-
getMinStorage
public Long getMinStorage()
Get 该规格所支持最小存储容量,单位:GB- Returns:
- MinStorage 该规格所支持最小存储容量,单位:GB
-
setMinStorage
public void setMinStorage(Long MinStorage)
Set 该规格所支持最小存储容量,单位:GB- Parameters:
MinStorage
- 该规格所支持最小存储容量,单位:GB
-
getQPS
public Long getQPS()
Get 该规格的预估QPS- Returns:
- QPS 该规格的预估QPS
-
setQPS
public void setQPS(Long QPS)
Set 该规格的预估QPS- Parameters:
QPS
- 该规格的预估QPS
-
-