@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedInstanceLimitPrice extends Object implements Serializable, Cloneable
Describes the limit price of a Reserved Instance offering.
| Constructor and Description | 
|---|
ReservedInstanceLimitPrice()  | 
| Modifier and Type | Method and Description | 
|---|---|
ReservedInstanceLimitPrice | 
clone()  | 
boolean | 
equals(Object obj)  | 
Double | 
getAmount()
 Used for Reserved Instance Marketplace offerings. 
 | 
String | 
getCurrencyCode()
 The currency in which the  
limitPrice amount is specified. | 
int | 
hashCode()  | 
void | 
setAmount(Double amount)
 Used for Reserved Instance Marketplace offerings. 
 | 
void | 
setCurrencyCode(CurrencyCodeValues currencyCode)
 The currency in which the  
limitPrice amount is specified. | 
void | 
setCurrencyCode(String currencyCode)
 The currency in which the  
limitPrice amount is specified. | 
String | 
toString()
Returns a string representation of this object. 
 | 
ReservedInstanceLimitPrice | 
withAmount(Double amount)
 Used for Reserved Instance Marketplace offerings. 
 | 
ReservedInstanceLimitPrice | 
withCurrencyCode(CurrencyCodeValues currencyCode)
 The currency in which the  
limitPrice amount is specified. | 
ReservedInstanceLimitPrice | 
withCurrencyCode(String currencyCode)
 The currency in which the  
limitPrice amount is specified. | 
public void setAmount(Double amount)
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
amount - Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order
        (instanceCount * price).public Double getAmount()
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
public ReservedInstanceLimitPrice withAmount(Double amount)
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
amount - Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order
        (instanceCount * price).public void setCurrencyCode(String currencyCode)
 The currency in which the limitPrice amount is specified. At this time, the only supported currency
 is USD.
 
currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported
        currency is USD.CurrencyCodeValuespublic String getCurrencyCode()
 The currency in which the limitPrice amount is specified. At this time, the only supported currency
 is USD.
 
limitPrice amount is specified. At this time, the only supported
         currency is USD.CurrencyCodeValuespublic ReservedInstanceLimitPrice withCurrencyCode(String currencyCode)
 The currency in which the limitPrice amount is specified. At this time, the only supported currency
 is USD.
 
currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported
        currency is USD.CurrencyCodeValuespublic void setCurrencyCode(CurrencyCodeValues currencyCode)
 The currency in which the limitPrice amount is specified. At this time, the only supported currency
 is USD.
 
currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported
        currency is USD.CurrencyCodeValuespublic ReservedInstanceLimitPrice withCurrencyCode(CurrencyCodeValues currencyCode)
 The currency in which the limitPrice amount is specified. At this time, the only supported currency
 is USD.
 
currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported
        currency is USD.CurrencyCodeValuespublic String toString()
toString in class ObjectObject.toString()public ReservedInstanceLimitPrice clone()