public class InquiryPriceUpgradeDBInstanceRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| InquiryPriceUpgradeDBInstanceRequest() | 
| InquiryPriceUpgradeDBInstanceRequest(InquiryPriceUpgradeDBInstanceRequest 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 | 
|---|---|
| Long | getCpu()Get 实例的Cpu大小,单位Core。
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。 | 
| String | getDBInstanceId()Get 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取 | 
| String | getInstanceChargeType()Deprecated.   | 
| Long | getMemory()Get 实例的内存大小,单位GB | 
| Long | getStorage()Get 实例的磁盘大小,单位GB | 
| void | setCpu(Long Cpu)Set 实例的Cpu大小,单位Core。
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。 | 
| void | setDBInstanceId(String DBInstanceId)Set 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取 | 
| void | setInstanceChargeType(String InstanceChargeType)Deprecated.   | 
| void | setMemory(Long Memory)Set 实例的内存大小,单位GB | 
| void | setStorage(Long Storage)Set 实例的磁盘大小,单位GB | 
| 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 InquiryPriceUpgradeDBInstanceRequest()
public InquiryPriceUpgradeDBInstanceRequest(InquiryPriceUpgradeDBInstanceRequest source)
public Long getStorage()
public void setStorage(Long Storage)
Storage - 实例的磁盘大小,单位GBpublic Long getMemory()
public void setMemory(Long Memory)
Memory - 实例的内存大小,单位GBpublic String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId - 实例ID,形如postgres-hez4fh0v。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取@Deprecated public String getInstanceChargeType()
@Deprecated public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType - 实例计费类型。public Long getCpu()
public void setCpu(Long Cpu)
Cpu - 实例的Cpu大小,单位Core。
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。Copyright © 2025. All rights reserved.