|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.PricingDetail
public class PricingDetail
Describes a Reserved Instance offering.
Constructor Summary | |
---|---|
PricingDetail()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getCount()
The number of instances available for the price. |
java.lang.Double |
getPrice()
The price per instance. |
int |
hashCode()
|
void |
setCount(java.lang.Integer count)
The number of instances available for the price. |
void |
setPrice(java.lang.Double price)
The price per instance. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PricingDetail |
withCount(java.lang.Integer count)
The number of instances available for the price. |
PricingDetail |
withPrice(java.lang.Double price)
The price per instance. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PricingDetail()
Method Detail |
---|
public java.lang.Double getPrice()
public void setPrice(java.lang.Double price)
price
- The price per instance.public PricingDetail withPrice(java.lang.Double price)
Returns a reference to this object so that method calls can be chained together.
price
- The price per instance.
public java.lang.Integer getCount()
public void setCount(java.lang.Integer count)
count
- The number of instances available for the price.public PricingDetail withCount(java.lang.Integer count)
Returns a reference to this object so that method calls can be chained together.
count
- The number of instances available for the price.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |