|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.ReservedInstanceLimitPrice
public class ReservedInstanceLimitPrice
Reserved Instance Limit Price
Constructor Summary | |
---|---|
ReservedInstanceLimitPrice()
|
Method Summary | |
---|---|
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(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(String currencyCode)
Sets the value of the CurrencyCode property for this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedInstanceLimitPrice()
Method Detail |
---|
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()
public void setCurrencyCode(String currencyCode)
currencyCode
- The new value for the CurrencyCode property for this object.public ReservedInstanceLimitPrice withCurrencyCode(String currencyCode)
Returns a reference to this object so that method calls can be chained together.
currencyCode
- The new value for the CurrencyCode property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |