public class InquiryPriceUpdateInstanceRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceUpdateInstanceRequest() |
InquiryPriceUpdateInstanceRequest(InquiryPriceUpdateInstanceRequest 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 |
getCurrency()
Get 货币种类。取值范围:
CNY:表示人民币。
|
Long |
getPayMode()
Get 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。
|
Placement |
getPlacement()
Get 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
|
Long |
getTimeSpan()
Get 变配的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
|
String |
getTimeUnit()
Get 变配的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
|
UpdateInstanceSettings |
getUpdateSpec()
Get 节点变配的目标配置。
|
void |
setCurrency(String Currency)
Set 货币种类。取值范围:
CNY:表示人民币。
|
void |
setPayMode(Long PayMode)
Set 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。
|
void |
setPlacement(Placement Placement)
Set 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。
|
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 |
setUpdateSpec(UpdateInstanceSettings UpdateSpec)
Set 节点变配的目标配置。
|
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 InquiryPriceUpdateInstanceRequest()
public InquiryPriceUpdateInstanceRequest(InquiryPriceUpdateInstanceRequest source)
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- 变配的时间单位。取值范围:
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- 变配的时长。结合TimeUnit一起使用。
public UpdateInstanceSettings getUpdateSpec()
public void setUpdateSpec(UpdateInstanceSettings UpdateSpec)
UpdateSpec
- 节点变配的目标配置。public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- 实例计费模式。取值范围:
public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。public String getCurrency()
public void setCurrency(String Currency)
Currency
- 货币种类。取值范围:
Copyright © 2021. All rights reserved.