Package org.jclouds.ec2.domain
Class ReservedInstancesOffering
java.lang.Object
org.jclouds.ec2.domain.ReservedInstancesOffering
- All Implemented Interfaces:
 Comparable<ReservedInstancesOffering>
public class ReservedInstancesOffering
extends Object
implements Comparable<ReservedInstancesOffering>
- See Also:
 
- 
Constructor Details
- 
ReservedInstancesOffering
 
 - 
 - 
Method Details
- 
getRegion
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context. - 
getAvailabilityZone
- Returns:
 - The Availability Zone in which the Reserved Instance can be used.
 
 - 
getDuration
public long getDuration()- Returns:
 - The duration of the Reserved Instance, in seconds
 
 - 
getFixedPrice
public float getFixedPrice()- Returns:
 - The purchase price of the Reserved Instance.
 
 - 
getInstanceType
- Returns:
 - The instance type on which the Reserved Instance can be used.
 
 - 
getProductDescription
- Returns:
 - The Reserved Instance description.
 
 - 
getId
- Returns:
 - The ID of the Reserved Instance offering.
 
 - 
getUsagePrice
public float getUsagePrice()- Returns:
 - The usage price of the Reserved Instance, per hour.
 
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<ReservedInstancesOffering>
 - 
toString
 - 
hashCode
public int hashCode() - 
equals
 
 -