public class PricingDetail extends Object implements Serializable
Constructor and Description |
---|
PricingDetail() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.