Class PricingDetail
java.lang.Object
com.amazonaws.services.ec2.model.PricingDetail
- All Implemented Interfaces:
Serializable, Cloneable
Describes a Reserved Instance offering.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetCount()The number of reservations available for the price.getPrice()The price per instance.inthashCode()voidThe number of reservations available for the price.voidThe price per instance.toString()Returns a string representation of this object; useful for testing and debugging.The number of reservations available for the price.The price per instance.
-
Constructor Details
-
PricingDetail
public PricingDetail()
-
-
Method Details
-
setPrice
The price per instance.
- Parameters:
price- The price per instance.
-
getPrice
-
withPrice
The price per instance.
- Parameters:
price- The price per instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCount
The number of reservations available for the price.
- Parameters:
count- The number of reservations available for the price.
-
getCount
The number of reservations available for the price.
- Returns:
- The number of reservations available for the price.
-
withCount
The number of reservations available for the price.
- Parameters:
count- The number of reservations available for the price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-