Class ReservedInstancePriceItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.ReservedInstancePriceItem
-
public class ReservedInstancePriceItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDuration()Get 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。 计量单位:秒FloatgetFixedPrice()Get 预支合计费用,单位:元。StringgetOfferingType()Get 付费类型,如:"All Upfront","Partial Upfront","No Upfront"StringgetProductDescription()Get 预留实例计费的平台描述(即操作系统)。形如:Linux。 返回项: Linux 。StringgetReservedInstancesOfferingId()Get 预留实例配置IDFloatgetUsagePrice()Get 后续合计费用,单位:元/小时StringgetZone()Get 预留实例计费可购买的可用区。voidsetDuration(Long Duration)Set 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。 计量单位:秒voidsetFixedPrice(Float FixedPrice)Set 预支合计费用,单位:元。voidsetOfferingType(String OfferingType)Set 付费类型,如:"All Upfront","Partial Upfront","No Upfront"voidsetProductDescription(String ProductDescription)Set 预留实例计费的平台描述(即操作系统)。形如:Linux。 返回项: Linux 。voidsetReservedInstancesOfferingId(String ReservedInstancesOfferingId)Set 预留实例配置IDvoidsetUsagePrice(Float UsagePrice)Set 后续合计费用,单位:元/小时voidsetZone(String Zone)Set 预留实例计费可购买的可用区。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ReservedInstancePriceItem
public ReservedInstancePriceItem()
-
ReservedInstancePriceItem
public 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.
-
-
Method Detail
-
getOfferingType
public String getOfferingType()
Get 付费类型,如:"All Upfront","Partial Upfront","No Upfront"- Returns:
- OfferingType 付费类型,如:"All Upfront","Partial Upfront","No Upfront"
-
setOfferingType
public void setOfferingType(String OfferingType)
Set 付费类型,如:"All Upfront","Partial Upfront","No Upfront"- Parameters:
OfferingType- 付费类型,如:"All Upfront","Partial Upfront","No Upfront"
-
getFixedPrice
public Float getFixedPrice()
Get 预支合计费用,单位:元。- Returns:
- FixedPrice 预支合计费用,单位:元。
-
setFixedPrice
public void setFixedPrice(Float FixedPrice)
Set 预支合计费用,单位:元。- Parameters:
FixedPrice- 预支合计费用,单位:元。
-
getUsagePrice
public Float getUsagePrice()
Get 后续合计费用,单位:元/小时- Returns:
- UsagePrice 后续合计费用,单位:元/小时
-
setUsagePrice
public void setUsagePrice(Float UsagePrice)
Set 后续合计费用,单位:元/小时- Parameters:
UsagePrice- 后续合计费用,单位:元/小时
-
getReservedInstancesOfferingId
public String getReservedInstancesOfferingId()
Get 预留实例配置ID- Returns:
- ReservedInstancesOfferingId 预留实例配置ID
-
setReservedInstancesOfferingId
public void setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
Set 预留实例配置ID- Parameters:
ReservedInstancesOfferingId- 预留实例配置ID
-
getZone
public String getZone()
Get 预留实例计费可购买的可用区。- Returns:
- Zone 预留实例计费可购买的可用区。
-
setZone
public void setZone(String Zone)
Set 预留实例计费可购买的可用区。- Parameters:
Zone- 预留实例计费可购买的可用区。
-
getDuration
public Long getDuration()
Get 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。 计量单位:秒- Returns:
- Duration 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。 计量单位:秒
-
setDuration
public void setDuration(Long Duration)
Set 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。 计量单位:秒- Parameters:
Duration- 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。 计量单位:秒
-
getProductDescription
public String getProductDescription()
Get 预留实例计费的平台描述(即操作系统)。形如:Linux。 返回项: Linux 。- Returns:
- ProductDescription 预留实例计费的平台描述(即操作系统)。形如:Linux。 返回项: Linux 。
-
setProductDescription
public void setProductDescription(String ProductDescription)
Set 预留实例计费的平台描述(即操作系统)。形如:Linux。 返回项: Linux 。- Parameters:
ProductDescription- 预留实例计费的平台描述(即操作系统)。形如:Linux。 返回项: Linux 。
-
-