Package com.amazonaws.services.ec2.model
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()
boolean
getCount()
The number of reservations available for the price.getPrice()
The price per instance.int
hashCode()
void
The number of reservations available for the price.void
The 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
The price per instance.
- Returns:
- The price per instance.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-