Class ReservationPurchaseRecommendationDetail

    • Method Detail

      • accountId

        public final String accountId()

        The account that this Reserved Instance (RI) recommendation is for.

        Returns:
        The account that this Reserved Instance (RI) recommendation is for.
      • instanceDetails

        public final InstanceDetails instanceDetails()

        Details about the reservations that Amazon Web Services recommends that you purchase.

        Returns:
        Details about the reservations that Amazon Web Services recommends that you purchase.
      • recommendedNumberOfInstancesToPurchase

        public final String recommendedNumberOfInstancesToPurchase()

        The number of instances that Amazon Web Services recommends that you purchase.

        Returns:
        The number of instances that Amazon Web Services recommends that you purchase.
      • recommendedNormalizedUnitsToPurchase

        public final String recommendedNormalizedUnitsToPurchase()

        The number of normalized units that Amazon Web Services recommends that you purchase.

        Returns:
        The number of normalized units that Amazon Web Services recommends that you purchase.
      • minimumNumberOfInstancesUsedPerHour

        public final String minimumNumberOfInstancesUsedPerHour()

        The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • minimumNormalizedUnitsUsedPerHour

        public final String minimumNormalizedUnitsUsedPerHour()

        The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • maximumNumberOfInstancesUsedPerHour

        public final String maximumNumberOfInstancesUsedPerHour()

        The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • maximumNormalizedUnitsUsedPerHour

        public final String maximumNormalizedUnitsUsedPerHour()

        The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • averageNumberOfInstancesUsedPerHour

        public final String averageNumberOfInstancesUsedPerHour()

        The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • averageNormalizedUnitsUsedPerHour

        public final String averageNormalizedUnitsUsedPerHour()

        The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • averageUtilization

        public final String averageUtilization()

        The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.

        Returns:
        The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
      • estimatedBreakEvenInMonths

        public final String estimatedBreakEvenInMonths()

        How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.

        Returns:
        How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
      • currencyCode

        public final String currencyCode()

        The currency code that Amazon Web Services used to calculate the costs for this instance.

        Returns:
        The currency code that Amazon Web Services used to calculate the costs for this instance.
      • estimatedMonthlySavingsAmount

        public final String estimatedMonthlySavingsAmount()

        How much Amazon Web Services estimates that this specific recommendation might save you in a month.

        Returns:
        How much Amazon Web Services estimates that this specific recommendation might save you in a month.
      • estimatedMonthlySavingsPercentage

        public final String estimatedMonthlySavingsPercentage()

        How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.

        Returns:
        How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.
      • estimatedMonthlyOnDemandCost

        public final String estimatedMonthlyOnDemandCost()

        How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.

        Returns:
        How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
      • estimatedReservationCostForLookbackPeriod

        public final String estimatedReservationCostForLookbackPeriod()

        How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.

        Returns:
        How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.
      • upfrontCost

        public final String upfrontCost()

        How much purchasing this instance costs you upfront.

        Returns:
        How much purchasing this instance costs you upfront.
      • recurringStandardMonthlyCost

        public final String recurringStandardMonthlyCost()

        How much purchasing this instance costs you on a monthly basis.

        Returns:
        How much purchasing this instance costs you on a monthly basis.
      • 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)