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 The **validity** of the reserved instance in seconds, which is the purchased usage period.
|
Float |
getFixedPrice()
Get Upfront payment, in USD.
|
String |
getOfferingType()
Get Payment method.
|
String |
getProductDescription()
Get The operating system of the reserved instance, such as `Linux`.
|
String |
getReservedInstancesOfferingId()
Get The ID of the reserved instance offering.
|
Float |
getUsagePrice()
Get Subsequent unit price, in USD/hr.
|
String |
getZone()
Get The availability zone in which the reserved instance can be purchased.
|
void |
setDuration(Long Duration)
Set The **validity** of the reserved instance in seconds, which is the purchased usage period.
|
void |
setFixedPrice(Float FixedPrice)
Set Upfront payment, in USD.
|
void |
setOfferingType(String OfferingType)
Set Payment method.
|
void |
setProductDescription(String ProductDescription)
Set The operating system of the reserved instance, such as `Linux`.
|
void |
setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
Set The ID of the reserved instance offering.
|
void |
setUsagePrice(Float UsagePrice)
Set Subsequent unit price, in USD/hr.
|
void |
setZone(String Zone)
Set The availability zone in which the reserved instance can be purchased.
|
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
- Payment method. Valid values: All Upfront, Partial Upfront, and No Upfront.public Float getFixedPrice()
public void setFixedPrice(Float FixedPrice)
FixedPrice
- Upfront payment, in USD.public Float getUsagePrice()
public void setUsagePrice(Float UsagePrice)
UsagePrice
- Subsequent unit price, in USD/hr.public String getReservedInstancesOfferingId()
public void setReservedInstancesOfferingId(String ReservedInstancesOfferingId)
ReservedInstancesOfferingId
- The ID of the reserved instance offering.public String getZone()
public void setZone(String Zone)
Zone
- The availability zone in which the reserved instance can be purchased.public Long getDuration()
public void setDuration(Long Duration)
Duration
- The **validity** of the reserved instance in seconds, which is the purchased usage period. For example, `31536000`.
Unit: secondpublic String getProductDescription()
public void setProductDescription(String ProductDescription)
ProductDescription
- The operating system of the reserved instance, such as `Linux`.
Valid value: `Linux`.Copyright © 2023. All rights reserved.