Class InstanceSpec
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cynosdb.v20190107.models.InstanceSpec
-
public class InstanceSpec extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InstanceSpec()InstanceSpec(InstanceSpec 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCpu()Get 实例CPU,单位:核BooleangetHasStock()Get 是否有库存StringgetMachineType()Get 机器类型LonggetMaxIoBandWidth()Get 最大IO带宽LonggetMaxIops()Get 最大IOPSLonggetMaxStorageSize()Get 实例最大可用存储,单位:GBLonggetMemory()Get 实例内存,单位:GBLonggetMinStorageSize()Get 实例最小可用存储,单位:GBLonggetStockCount()Get 库存数量 注意:此字段可能返回 null,表示取不到有效值。ZoneStockInfo[]getZoneStockInfos()Get 地域库存信息 注意:此字段可能返回 null,表示取不到有效值。voidsetCpu(Long Cpu)Set 实例CPU,单位:核voidsetHasStock(Boolean HasStock)Set 是否有库存voidsetMachineType(String MachineType)Set 机器类型voidsetMaxIoBandWidth(Long MaxIoBandWidth)Set 最大IO带宽voidsetMaxIops(Long MaxIops)Set 最大IOPSvoidsetMaxStorageSize(Long MaxStorageSize)Set 实例最大可用存储,单位:GBvoidsetMemory(Long Memory)Set 实例内存,单位:GBvoidsetMinStorageSize(Long MinStorageSize)Set 实例最小可用存储,单位:GBvoidsetStockCount(Long StockCount)Set 库存数量 注意:此字段可能返回 null,表示取不到有效值。voidsetZoneStockInfos(ZoneStockInfo[] ZoneStockInfos)Set 地域库存信息 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(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
-
InstanceSpec
public InstanceSpec()
-
InstanceSpec
public InstanceSpec(InstanceSpec 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
-
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 实例内存,单位:GB- Returns:
- Memory 实例内存,单位:GB
-
setMemory
public void setMemory(Long Memory)
Set 实例内存,单位:GB- Parameters:
Memory- 实例内存,单位:GB
-
getMaxStorageSize
public Long getMaxStorageSize()
Get 实例最大可用存储,单位:GB- Returns:
- MaxStorageSize 实例最大可用存储,单位:GB
-
setMaxStorageSize
public void setMaxStorageSize(Long MaxStorageSize)
Set 实例最大可用存储,单位:GB- Parameters:
MaxStorageSize- 实例最大可用存储,单位:GB
-
getMinStorageSize
public Long getMinStorageSize()
Get 实例最小可用存储,单位:GB- Returns:
- MinStorageSize 实例最小可用存储,单位:GB
-
setMinStorageSize
public void setMinStorageSize(Long MinStorageSize)
Set 实例最小可用存储,单位:GB- Parameters:
MinStorageSize- 实例最小可用存储,单位:GB
-
getHasStock
public Boolean getHasStock()
Get 是否有库存- Returns:
- HasStock 是否有库存
-
setHasStock
public void setHasStock(Boolean HasStock)
Set 是否有库存- Parameters:
HasStock- 是否有库存
-
getMachineType
public String getMachineType()
Get 机器类型- Returns:
- MachineType 机器类型
-
setMachineType
public void setMachineType(String MachineType)
Set 机器类型- Parameters:
MachineType- 机器类型
-
getMaxIops
public Long getMaxIops()
Get 最大IOPS- Returns:
- MaxIops 最大IOPS
-
setMaxIops
public void setMaxIops(Long MaxIops)
Set 最大IOPS- Parameters:
MaxIops- 最大IOPS
-
getMaxIoBandWidth
public Long getMaxIoBandWidth()
Get 最大IO带宽- Returns:
- MaxIoBandWidth 最大IO带宽
-
setMaxIoBandWidth
public void setMaxIoBandWidth(Long MaxIoBandWidth)
Set 最大IO带宽- Parameters:
MaxIoBandWidth- 最大IO带宽
-
getZoneStockInfos
public ZoneStockInfo[] getZoneStockInfos()
Get 地域库存信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ZoneStockInfos 地域库存信息 注意:此字段可能返回 null,表示取不到有效值。
-
setZoneStockInfos
public void setZoneStockInfos(ZoneStockInfo[] ZoneStockInfos)
Set 地域库存信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ZoneStockInfos- 地域库存信息 注意:此字段可能返回 null,表示取不到有效值。
-
getStockCount
public Long getStockCount()
Get 库存数量 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- StockCount 库存数量 注意:此字段可能返回 null,表示取不到有效值。
-
setStockCount
public void setStockCount(Long StockCount)
Set 库存数量 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
StockCount- 库存数量 注意:此字段可能返回 null,表示取不到有效值。
-
-