public class ReservedInstancePriceItem extends AbstractModel
Constructor and Description |
---|
ReservedInstancePriceItem() |
ReservedInstancePriceItem(ReservedInstancePriceItem 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 |
getDuration()
Get 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
计量单位:秒
|
Float |
getFixedPrice()
Get 预支合计费用,单位:元。
|
String |
getOfferingType()
Get 付费类型,如:"All Upfront","Partial Upfront","No Upfront"
|
String |
getProductDescription()
Get 预留实例计费的平台描述(即操作系统)。形如:Linux。
返回项: Linux 。
|
String |
getReservedInstancesOfferingId()
Get 预留实例配置ID
|
Float |
getUsagePrice()
Get 后续合计费用,单位:元/小时
|
String |
getZone()
Get 预留实例计费可购买的可用区。
|
void |
setDuration(Long Duration)
Set 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
计量单位:秒
|
void |
setFixedPrice(Float FixedPrice)
Set 预支合计费用,单位:元。
|
void |
setOfferingType(String OfferingType)
Set 付费类型,如:"All Upfront","Partial Upfront","No Upfront"
|
void |
setProductDescription(String ProductDescription)
Set 预留实例计费的平台描述(即操作系统)。形如:Linux。
返回项: Linux 。
|
void |
setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
Set 预留实例配置ID
|
void |
setUsagePrice(Float UsagePrice)
Set 后续合计费用,单位:元/小时
|
void |
setZone(String Zone)
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 ReservedInstancePriceItem()
public ReservedInstancePriceItem(ReservedInstancePriceItem source)
public String getOfferingType()
public void setOfferingType(String OfferingType)
OfferingType
- 付费类型,如:"All Upfront","Partial Upfront","No Upfront"public Float getFixedPrice()
public void setFixedPrice(Float FixedPrice)
FixedPrice
- 预支合计费用,单位:元。public Float getUsagePrice()
public void setUsagePrice(Float UsagePrice)
UsagePrice
- 后续合计费用,单位:元/小时public String getReservedInstancesOfferingId()
public void setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
ReservedInstancesOfferingId
- 预留实例配置IDpublic String getZone()
public void setZone(String Zone)
Zone
- 预留实例计费可购买的可用区。public Long getDuration()
public void setDuration(Long Duration)
Duration
- 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
计量单位:秒public String getProductDescription()
public void setProductDescription(String ProductDescription)
ProductDescription
- 预留实例计费的平台描述(即操作系统)。形如:Linux。
返回项: Linux 。Copyright © 2023. All rights reserved.