public class PriceSchedule extends Object implements Serializable
| Constructor and Description |
|---|
PriceSchedule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getActive()
Returns the value of the Active property for this object.
|
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() |
Boolean |
isActive()
Returns the value of the Active property for this object.
|
void |
setActive(Boolean active)
Sets the value of the Active 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.
|
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.
|
PriceSchedule |
withActive(Boolean active)
Sets the value of the Active property for this object.
|
PriceSchedule |
withCurrencyCode(CurrencyCodeValues currencyCode)
Sets the value of the CurrencyCode property for this object.
|
PriceSchedule |
withCurrencyCode(String currencyCode)
Sets the value of the CurrencyCode property for this object.
|
PriceSchedule |
withPrice(Double price)
Sets the value of the Price property for this object.
|
PriceSchedule |
withTerm(Long term)
Sets the value of the Term property for this object.
|
public Long getTerm()
public void setTerm(Long term)
term - The new value for the Term property for this object.public PriceSchedule 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 PriceSchedule 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()
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 PriceSchedule 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 PriceSchedule 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 Boolean isActive()
public void setActive(Boolean active)
active - The new value for the Active property for this object.public PriceSchedule withActive(Boolean active)
Returns a reference to this object so that method calls can be chained together.
active - The new value for the Active property for this object.public Boolean getActive()
public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.