|
|||||||
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
Pricing Detail
Constructor Summary | |
---|---|
PricingDetail()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getCount()
Returns the value of the Count property for this object. |
Double |
getPrice()
Returns the value of the Price property for this object. |
int |
hashCode()
|
void |
setCount(Integer count)
Sets the value of the Count property for this object. |
void |
setPrice(Double price)
Sets the value of the Price property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PricingDetail |
withCount(Integer count)
Sets the value of the Count property for this object. |
PricingDetail |
withPrice(Double price)
Sets the value of the Price property for this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PricingDetail()
Method Detail |
---|
public Double getPrice()
public void setPrice(Double price)
price
- The new value for the Price property for this object.public PricingDetail 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 Integer getCount()
public void setCount(Integer count)
count
- The new value for the Count property for this object.public PricingDetail withCount(Integer count)
Returns a reference to this object so that method calls can be chained together.
count
- The new value for the Count 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 |