Class ReservedInstancesOffering

    • Constructor Detail

      • ReservedInstancesOffering

        public ReservedInstancesOffering​(String region,
                                         String availabilityZone,
                                         long duration,
                                         float fixedPrice,
                                         String instanceType,
                                         String productDescription,
                                         String reservedInstancesOfferingId,
                                         float usagePrice)
    • Method Detail

      • getRegion

        @Deprecated
        public String getRegion()
        Deprecated.
        To be removed in jclouds 1.6

        Warning

        Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
      • getAvailabilityZone

        public String 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

        public String getInstanceType()
        Returns:
        The instance type on which the Reserved Instance can be used.
      • getProductDescription

        public String getProductDescription()
        Returns:
        The Reserved Instance description.
      • getId

        public String getId()
        Returns:
        The ID of the Reserved Instance offering.
      • getUsagePrice

        public float getUsagePrice()
        Returns:
        The usage price of the Reserved Instance, per hour.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object