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()
boolean
Used for Reserved Instance Marketplace offerings.The currency in which thelimitPrice
amount is specified.int
hashCode()
void
Used for Reserved Instance Marketplace offerings.void
setCurrencyCode
(CurrencyCodeValues currencyCode) The currency in which thelimitPrice
amount is specified.void
setCurrencyCode
(String currencyCode) The currency in which thelimitPrice
amount 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 thelimitPrice
amount is specified.withCurrencyCode
(String currencyCode) The currency in which thelimitPrice
amount 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
limitPrice
amount is specified. At this time, the only supported currency isUSD
.- Parameters:
currencyCode
- The currency in which thelimitPrice
amount is specified. At this time, the only supported currency isUSD
.- See Also:
-
getCurrencyCode
The currency in which the
limitPrice
amount is specified. At this time, the only supported currency isUSD
.- Returns:
- The currency in which the
limitPrice
amount is specified. At this time, the only supported currency isUSD
. - See Also:
-
withCurrencyCode
The currency in which the
limitPrice
amount is specified. At this time, the only supported currency isUSD
.- Parameters:
currencyCode
- The currency in which thelimitPrice
amount 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
limitPrice
amount is specified. At this time, the only supported currency isUSD
.- Parameters:
currencyCode
- The currency in which thelimitPrice
amount is specified. At this time, the only supported currency isUSD
.- See Also:
-
withCurrencyCode
The currency in which the
limitPrice
amount is specified. At this time, the only supported currency isUSD
.- Parameters:
currencyCode
- The currency in which thelimitPrice
amount 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-