Class ReservedInstancesPricing

    • Method Detail

      • estimatedOnDemandCost

        public final Double estimatedOnDemandCost()

        The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.

        Returns:
        The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
      • monthlyReservationEligibleCost

        public final Double monthlyReservationEligibleCost()

        The cost of paying for the recommended reserved instance monthly.

        Returns:
        The cost of paying for the recommended reserved instance monthly.
      • savingsPercentage

        public final Double savingsPercentage()

        The savings percentage relative to the total On-Demand costs that are associated with this instance.

        Returns:
        The savings percentage relative to the total On-Demand costs that are associated with this instance.
      • estimatedMonthlyAmortizedReservationCost

        public final Double estimatedMonthlyAmortizedReservationCost()

        The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.

        Returns:
        The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)