public class InquiryPriceScaleOutInstanceRequest extends AbstractModel
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 |
---|---|
Long |
getCoreCount()
Get Number of core nodes to be added.
|
String |
getCurrency()
Get Currency.
|
String |
getInstanceId()
Get Instance ID.
|
Long |
getMasterCount()
Get Number of master nodes to be added.
|
Long |
getPayMode()
Get Instance billing mode.
|
Long |
getRouterCount()
Get Number of router nodes to be added.
|
Long |
getTaskCount()
Get Number of task nodes to be added.
|
Long |
getTimeSpan()
Get Time span of scale-out, which needs to be used together with `TimeUnit`.
|
String |
getTimeUnit()
Get Time unit of scale-out.
|
Long |
getZoneId()
Get ID of the AZ where an instance resides.
|
void |
setCoreCount(Long CoreCount)
Set Number of core nodes to be added.
|
void |
setCurrency(String Currency)
Set Currency.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setMasterCount(Long MasterCount)
Set Number of master nodes to be added.
|
void |
setPayMode(Long PayMode)
Set Instance billing mode.
|
void |
setRouterCount(Long RouterCount)
Set Number of router nodes to be added.
|
void |
setTaskCount(Long TaskCount)
Set Number of task nodes to be added.
|
void |
setTimeSpan(Long TimeSpan)
Set Time span of scale-out, which needs to be used together with `TimeUnit`.
|
void |
setTimeUnit(String TimeUnit)
Set Time unit of scale-out.
|
void |
setZoneId(Long ZoneId)
Set ID of the AZ where an instance resides.
|
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, toJsonString
public InquiryPriceScaleOutInstanceRequest()
public InquiryPriceScaleOutInstanceRequest(InquiryPriceScaleOutInstanceRequest source)
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- Time unit of scale-out. Valid value:
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- Time span of scale-out, which needs to be used together with `TimeUnit`.
public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- ID of the AZ where an instance resides.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Instance billing mode. Valid value:
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount
- Number of core nodes to be added.public Long getTaskCount()
public void setTaskCount(Long TaskCount)
TaskCount
- Number of task nodes to be added.public String getCurrency()
public void setCurrency(String Currency)
Currency
- Currency.public Long getRouterCount()
public void setRouterCount(Long RouterCount)
RouterCount
- Number of router nodes to be added.public Long getMasterCount()
public void setMasterCount(Long MasterCount)
MasterCount
- Number of master nodes to be added.Copyright © 2023. All rights reserved.