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
CurrencyCodeValues
public void setCurrencyCode(String currencyCode)
Constraints:
Allowed Values: USD
currencyCode
- The new value for the CurrencyCode property for this object.CurrencyCodeValues
public 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.CurrencyCodeValues
public void setCurrencyCode(CurrencyCodeValues currencyCode)
Constraints:
Allowed Values: USD
currencyCode
- The new value for the CurrencyCode property for this object.CurrencyCodeValues
public 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.CurrencyCodeValues
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.