public class InquirePriceCreateRequest extends AbstractModel
| Constructor and Description | 
|---|
| InquirePriceCreateRequest() | 
| InquirePriceCreateRequest(InquirePriceCreateRequest 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, which is required when `InstancePayMode` is `SERVERLESS`. | 
| Long | getCpu()Get Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. | 
| Long | getGoodsNum()Get Number of compute node to purchase | 
| String | getInstancePayMode()Get Instance type for purchase. | 
| Long | getMemory()Get Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. | 
| Long | getStorageLimit()Get Storage size, which is required when `StoragePayMode` is `PREPAID`. | 
| String | getStoragePayMode()Get Storage type for purchase. | 
| Long | getTimeSpan()Get Validity period, which is required when `InstancePayMode` is `PREPAID`. | 
| String | getTimeUnit()Get Duration unit, which is required when `InstancePayMode` is `PREPAID`. | 
| String | getZone()Get AZ | 
| void | setCcu(Float Ccu)Set CCU size, which is required when `InstancePayMode` is `SERVERLESS`. | 
| void | setCpu(Long Cpu)Set Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. | 
| void | setGoodsNum(Long GoodsNum)Set Number of compute node to purchase | 
| void | setInstancePayMode(String InstancePayMode)Set Instance type for purchase. | 
| void | setMemory(Long Memory)Set Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`. | 
| void | setStorageLimit(Long StorageLimit)Set Storage size, which is required when `StoragePayMode` is `PREPAID`. | 
| void | setStoragePayMode(String StoragePayMode)Set Storage type for purchase. | 
| void | setTimeSpan(Long TimeSpan)Set Validity period, which is required when `InstancePayMode` is `PREPAID`. | 
| void | setTimeUnit(String TimeUnit)Set Duration unit, which is required when `InstancePayMode` is `PREPAID`. | 
| void | setZone(String Zone)Set AZ | 
| 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, toJsonStringpublic InquirePriceCreateRequest()
public InquirePriceCreateRequest(InquirePriceCreateRequest source)
public String getZone()
public void setZone(String Zone)
Zone - AZpublic Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum - Number of compute node to purchasepublic String getInstancePayMode()
public void setInstancePayMode(String InstancePayMode)
InstancePayMode - Instance type for purchase. Valid values: `PREPAID`, `POSTPAID`, `SERVERLESS`.public String getStoragePayMode()
public void setStoragePayMode(String StoragePayMode)
StoragePayMode - Storage type for purchase. Valid values: `PREPAID`, `POSTPAID`.public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of CPU cores, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`.public Long getMemory()
public void setMemory(Long Memory)
Memory - Memory size in GB, which is required when `InstancePayMode` is `PREPAID` or `POSTPAID`.public Float getCcu()
public void setCcu(Float Ccu)
Ccu - CCU size, which is required when `InstancePayMode` is `SERVERLESS`.public Long getStorageLimit()
public void setStorageLimit(Long StorageLimit)
StorageLimit - Storage size, which is required when `StoragePayMode` is `PREPAID`.public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan - Validity period, which is required when `InstancePayMode` is `PREPAID`.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - Duration unit, which is required when `InstancePayMode` is `PREPAID`. Valid values: `m` (month), `d` (day).Copyright © 2023. All rights reserved.