public class InquiryPriceScaleOutInstanceRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| InquiryPriceScaleOutInstanceRequest() | 
| InquiryPriceScaleOutInstanceRequest(InquiryPriceScaleOutInstanceRequest 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 | 
|---|---|
| String | getComputeResourceId()Get 计算资源id | 
| Long | getCoreCount()Get 扩容的Core节点数量。 | 
| String | getCurrency()Get 货币种类。取值范围:
CNY:表示人民币。 | 
| String | getHardwareResourceType()Get 扩容资源类型 | 
| String | getInstanceId()Get 实例ID。 | 
| Long | getMasterCount()Get 扩容的Master节点数量。 | 
| Long | getPayMode()Get 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。 | 
| String | getResourceBaseType()Get 类型为ComputeResource和EMR以及默认,默认为EMR | 
| Long | getRouterCount()Get 扩容的Router节点数量。 | 
| Long | getTaskCount()Get 扩容的Task节点数量。 | 
| Long | getTimeSpan()Get 扩容的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月 | 
| String | getTimeUnit()Get 扩容的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。 | 
| Long | getZoneId()Get 实例所属的可用区ID,例如100003。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/213/15707) 的返回值中的ZoneId字段来获取。 | 
| void | setComputeResourceId(String ComputeResourceId)Set 计算资源id | 
| void | setCoreCount(Long CoreCount)Set 扩容的Core节点数量。 | 
| void | setCurrency(String Currency)Set 货币种类。取值范围:
CNY:表示人民币。 | 
| void | setHardwareResourceType(String HardwareResourceType)Set 扩容资源类型 | 
| void | setInstanceId(String InstanceId)Set 实例ID。 | 
| void | setMasterCount(Long MasterCount)Set 扩容的Master节点数量。 | 
| void | setPayMode(Long PayMode)Set 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。 | 
| void | setResourceBaseType(String ResourceBaseType)Set 类型为ComputeResource和EMR以及默认,默认为EMR | 
| void | setRouterCount(Long RouterCount)Set 扩容的Router节点数量。 | 
| void | setTaskCount(Long TaskCount)Set 扩容的Task节点数量。 | 
| void | setTimeSpan(Long TimeSpan)Set 扩容的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月 | 
| void | setTimeUnit(String TimeUnit)Set 扩容的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。 | 
| void | setZoneId(Long ZoneId)Set 实例所属的可用区ID,例如100003。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/213/15707) 的返回值中的ZoneId字段来获取。 | 
| 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 InquiryPriceScaleOutInstanceRequest()
public InquiryPriceScaleOutInstanceRequest(InquiryPriceScaleOutInstanceRequest source)
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - 扩容的时间单位。取值范围:
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan - 扩容的时长。结合TimeUnit一起使用。
public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId - 实例所属的可用区ID,例如100003。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/213/15707) 的返回值中的ZoneId字段来获取。public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - 实例计费模式。取值范围:
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例ID。public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount - 扩容的Core节点数量。public Long getTaskCount()
public void setTaskCount(Long TaskCount)
TaskCount - 扩容的Task节点数量。public String getCurrency()
public void setCurrency(String Currency)
Currency - 货币种类。取值范围:
public Long getRouterCount()
public void setRouterCount(Long RouterCount)
RouterCount - 扩容的Router节点数量。public Long getMasterCount()
public void setMasterCount(Long MasterCount)
MasterCount - 扩容的Master节点数量。public String getResourceBaseType()
public void setResourceBaseType(String ResourceBaseType)
ResourceBaseType - 类型为ComputeResource和EMR以及默认,默认为EMRpublic String getComputeResourceId()
public void setComputeResourceId(String ComputeResourceId)
ComputeResourceId - 计算资源idpublic String getHardwareResourceType()
public void setHardwareResourceType(String HardwareResourceType)
HardwareResourceType - 扩容资源类型Copyright © 2025. All rights reserved.