Class ReservedInstanceLimitPrice
- All Implemented Interfaces:
Serializable, Cloneable
Describes the limit price of a Reserved Instance offering.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanUsed for Reserved Instance Marketplace offerings.The currency in which thelimitPriceamount is specified.inthashCode()voidUsed for Reserved Instance Marketplace offerings.voidsetCurrencyCode(CurrencyCodeValues currencyCode) The currency in which thelimitPriceamount is specified.voidsetCurrencyCode(String currencyCode) The currency in which thelimitPriceamount is specified.toString()Returns a string representation of this object; useful for testing and debugging.withAmount(Double amount) Used for Reserved Instance Marketplace offerings.withCurrencyCode(CurrencyCodeValues currencyCode) The currency in which thelimitPriceamount is specified.withCurrencyCode(String currencyCode) The currency in which thelimitPriceamount is specified.
-
Constructor Details
-
ReservedInstanceLimitPrice
public ReservedInstanceLimitPrice()
-
-
Method Details
-
setAmount
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
- Parameters:
amount- Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
-
getAmount
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
- Returns:
- Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
-
withAmount
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
- Parameters:
amount- Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrencyCode
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.- Parameters:
currencyCode- The currency in which thelimitPriceamount is specified. At this time, the only supported currency isUSD.- See Also:
-
getCurrencyCode
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.- Returns:
- The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD. - See Also:
-
withCurrencyCode
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.- Parameters:
currencyCode- The currency in which thelimitPriceamount is specified. At this time, the only supported currency isUSD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCurrencyCode
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.- Parameters:
currencyCode- The currency in which thelimitPriceamount is specified. At this time, the only supported currency isUSD.- See Also:
-
withCurrencyCode
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.- Parameters:
currencyCode- The currency in which thelimitPriceamount is specified. At this time, the only supported currency isUSD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
-
equals
-
hashCode
-
clone
-