public class ReservedInstanceLimitPrice extends Object implements Serializable
| Constructor and Description |
|---|
ReservedInstanceLimitPrice() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Double |
getAmount()
Returns the value of the Amount property for this object.
|
String |
getCurrencyCode()
Returns the value of the CurrencyCode property for this object.
|
int |
hashCode() |
void |
setAmount(Double amount)
Sets the value of the Amount property for this object.
|
void |
setCurrencyCode(CurrencyCodeValues currencyCode)
Sets the value of the CurrencyCode property for this object.
|
void |
setCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedInstanceLimitPrice |
withAmount(Double amount)
Sets the value of the Amount property for this object.
|
ReservedInstanceLimitPrice |
withCurrencyCode(CurrencyCodeValues currencyCode)
Sets the value of the CurrencyCode property for this object.
|
ReservedInstanceLimitPrice |
withCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object.
|
public Double getAmount()
public void setAmount(Double amount)
amount - The new value for the Amount property for this object.public ReservedInstanceLimitPrice withAmount(Double amount)
Returns a reference to this object so that method calls can be chained together.
amount - The new value for the Amount property for this object.public String getCurrencyCode()
Constraints:
Allowed Values: USD
CurrencyCodeValuespublic void setCurrencyCode(String currencyCode)
Constraints:
Allowed Values: USD
currencyCode - The new value for the CurrencyCode property for this object.CurrencyCodeValuespublic ReservedInstanceLimitPrice withCurrencyCode(String currencyCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: USD
currencyCode - The new value for the CurrencyCode property for this object.CurrencyCodeValuespublic void setCurrencyCode(CurrencyCodeValues currencyCode)
Constraints:
Allowed Values: USD
currencyCode - The new value for the CurrencyCode property for this object.CurrencyCodeValuespublic ReservedInstanceLimitPrice withCurrencyCode(CurrencyCodeValues currencyCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: USD
currencyCode - The new value for the CurrencyCode property for this object.CurrencyCodeValuespublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.