|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.PriceScheduleSpecification
public class PriceScheduleSpecification
Price Schedule Specification
| Constructor Summary | |
|---|---|
PriceScheduleSpecification()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCurrencyCode()
Returns the value of the CurrencyCode property for this object. |
Double |
getPrice()
Returns the value of the Price property for this object. |
Long |
getTerm()
Returns the value of the Term property for this object. |
int |
hashCode()
|
void |
setCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object. |
void |
setPrice(Double price)
Sets the value of the Price property for this object. |
void |
setTerm(Long term)
Sets the value of the Term property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PriceScheduleSpecification |
withCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object. |
PriceScheduleSpecification |
withPrice(Double price)
Sets the value of the Price property for this object. |
PriceScheduleSpecification |
withTerm(Long term)
Sets the value of the Term property for this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PriceScheduleSpecification()
| Method Detail |
|---|
public Long getTerm()
public void setTerm(Long term)
term - The new value for the Term property for this object.public PriceScheduleSpecification withTerm(Long term)
Returns a reference to this object so that method calls can be chained together.
term - The new value for the Term property for this object.
public Double getPrice()
public void setPrice(Double price)
price - The new value for the Price property for this object.public PriceScheduleSpecification withPrice(Double price)
Returns a reference to this object so that method calls can be chained together.
price - The new value for the Price property for this object.
public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode - The new value for the CurrencyCode property for this object.public PriceScheduleSpecification 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 ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||