Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class PricingDetail

java.lang.Object
  extended by com.amazonaws.services.ec2.model.PricingDetail
All Implemented Interfaces:
java.io.Serializable

public class PricingDetail
extends java.lang.Object
implements java.io.Serializable

Pricing Detail

See Also:
Serialized Form

Constructor Summary
PricingDetail()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getCount()
          Returns the value of the Count property for this object.
 java.lang.Double getPrice()
          Returns the value of the Price property for this object.
 int hashCode()
           
 void setCount(java.lang.Integer count)
          Sets the value of the Count property for this object.
 void setPrice(java.lang.Double price)
          Sets the value of the Price property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PricingDetail withCount(java.lang.Integer count)
          Sets the value of the Count property for this object.
 PricingDetail withPrice(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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