com.amazonaws.services.ec2.model
Class PricingDetail

java.lang.Object
  extended by com.amazonaws.services.ec2.model.PricingDetail

public class PricingDetail
extends Object

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

PricingDetail

public PricingDetail()
Method Detail

getPrice

public Double getPrice()
Returns the value of the Price property for this object.

Returns:
The value of the Price property for this object.

setPrice

public void setPrice(Double price)
Sets the value of the Price property for this object.

Parameters:
price - The new value for the Price property for this object.

withPrice

public PricingDetail withPrice(Double price)
Sets the value of the Price property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
price - The new value for the Price property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCount

public Integer getCount()
Returns the value of the Count property for this object.

Returns:
The value of the Count property for this object.

setCount

public void setCount(Integer count)
Sets the value of the Count property for this object.

Parameters:
count - The new value for the Count property for this object.

withCount

public PricingDetail withCount(Integer count)
Sets the value of the Count property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
count - The new value for the Count property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.