public class ReservedInstancesOffering extends AbstractModel
Constructor and Description |
---|
ReservedInstancesOffering() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrencyCode()
Get 可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
返回项:USD(美元)。
|
Long |
getDuration()
Get 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
计量单位:秒
|
Float |
getFixedPrice()
Get 预留实例计费的购买价格。形如:4000.0。
计量单位:与 currencyCode 一致,目前支持 USD(美元)
|
String |
getInstanceType()
Get 预留实例计费的实例类型。形如:S3.MEDIUM4。
返回项:预留实例计费类型列表
|
String |
getOfferingType()
Get 预留实例计费的付款类型。形如:All Upfront。
返回项: All Upfront (预付全部费用)。
|
String |
getProductDescription()
Get 预留实例计费的平台描述(即操作系统)。形如:linux。
返回项: linux 。
|
String |
getReservedInstancesOfferingId()
Get 可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
|
Float |
getUsagePrice()
Get 扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
|
String |
getZone()
Get 预留实例计费可购买的可用区。形如:ap-guangzhou-1。
返回项:可用区列表
|
void |
setCurrencyCode(String CurrencyCode)
Set 可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
返回项:USD(美元)。
|
void |
setDuration(Long Duration)
Set 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
计量单位:秒
|
void |
setFixedPrice(Float FixedPrice)
Set 预留实例计费的购买价格。形如:4000.0。
计量单位:与 currencyCode 一致,目前支持 USD(美元)
|
void |
setInstanceType(String InstanceType)
Set 预留实例计费的实例类型。形如:S3.MEDIUM4。
返回项:预留实例计费类型列表
|
void |
setOfferingType(String OfferingType)
Set 预留实例计费的付款类型。形如:All Upfront。
返回项: All Upfront (预付全部费用)。
|
void |
setProductDescription(String ProductDescription)
Set 预留实例计费的平台描述(即操作系统)。形如:linux。
返回项: linux 。
|
void |
setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
Set 可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
|
void |
setUsagePrice(Float UsagePrice)
Set 扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)
|
void |
setZone(String Zone)
Set 预留实例计费可购买的可用区。形如:ap-guangzhou-1。
返回项:可用区列表
|
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 String getZone()
public void setZone(String Zone)
Zone
- 预留实例计费可购买的可用区。形如:ap-guangzhou-1。
返回项:可用区列表public String getCurrencyCode()
public void setCurrencyCode(String CurrencyCode)
CurrencyCode
- 可购买的预留实例计费类型的结算货币,使用ISO 4217标准货币代码。
返回项:USD(美元)。public Long getDuration()
public void setDuration(Long Duration)
Duration
- 预留实例计费【有效期】即预留实例计费购买时长。形如:31536000。
计量单位:秒public Float getFixedPrice()
public void setFixedPrice(Float FixedPrice)
FixedPrice
- 预留实例计费的购买价格。形如:4000.0。
计量单位:与 currencyCode 一致,目前支持 USD(美元)public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- 预留实例计费的实例类型。形如:S3.MEDIUM4。
返回项:预留实例计费类型列表public String getOfferingType()
public void setOfferingType(String OfferingType)
OfferingType
- 预留实例计费的付款类型。形如:All Upfront。
返回项: All Upfront (预付全部费用)。public String getReservedInstancesOfferingId()
public void setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
ReservedInstancesOfferingId
- 可购买的预留实例计费配置ID。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。public String getProductDescription()
public void setProductDescription(String ProductDescription)
ProductDescription
- 预留实例计费的平台描述(即操作系统)。形如:linux。
返回项: linux 。public Float getUsagePrice()
public void setUsagePrice(Float UsagePrice)
UsagePrice
- 扣除预付费之后的使用价格 (按小时计费)。形如:0.0。
目前,因为只支持 All Upfront 付款类型,所以默认为 0元/小时。
计量单位:元/小时,货币单位与 currencyCode 一致,目前支持 USD(美元)Copyright © 2020. All rights reserved.