Class ReservationAggregates

    • Method Detail

      • utilizationPercentage

        public final String utilizationPercentage()

        The percentage of reservation time that you used.

        Returns:
        The percentage of reservation time that you used.
      • utilizationPercentageInUnits

        public final String utilizationPercentageInUnits()

        The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

        Returns:
        The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
      • purchasedHours

        public final String purchasedHours()

        How many reservation hours that you purchased.

        Returns:
        How many reservation hours that you purchased.
      • purchasedUnits

        public final String purchasedUnits()

        The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

        Returns:
        The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
      • totalActualHours

        public final String totalActualHours()

        The total number of reservation hours that you used.

        Returns:
        The total number of reservation hours that you used.
      • totalActualUnits

        public final String totalActualUnits()

        The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

        Returns:
        The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
      • unusedHours

        public final String unusedHours()

        The number of reservation hours that you didn't use.

        Returns:
        The number of reservation hours that you didn't use.
      • unusedUnits

        public final String unusedUnits()

        The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.

        Returns:
        The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
      • onDemandCostOfRIHoursUsed

        public final String onDemandCostOfRIHoursUsed()

        How much your reservation costs if charged On-Demand rates.

        Returns:
        How much your reservation costs if charged On-Demand rates.
      • netRISavings

        public final String netRISavings()

        How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by subtracting TotalAmortizedFee from OnDemandCostOfRIHoursUsed.

        Returns:
        How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by subtracting TotalAmortizedFee from OnDemandCostOfRIHoursUsed.
      • totalPotentialRISavings

        public final String totalPotentialRISavings()

        How much you might save if you use your entire reservation.

        Returns:
        How much you might save if you use your entire reservation.
      • amortizedUpfrontFee

        public final String amortizedUpfrontFee()

        The upfront cost of your reservation. It's amortized over the reservation period.

        Returns:
        The upfront cost of your reservation. It's amortized over the reservation period.
      • amortizedRecurringFee

        public final String amortizedRecurringFee()

        The monthly cost of your reservation. It's amortized over the reservation period.

        Returns:
        The monthly cost of your reservation. It's amortized over the reservation period.
      • totalAmortizedFee

        public final String totalAmortizedFee()

        The total cost of your reservation. It's amortized over the reservation period.

        Returns:
        The total cost of your reservation. It's amortized over the reservation period.
      • riCostForUnusedHours

        public final String riCostForUnusedHours()

        The cost of unused hours for your reservation.

        Returns:
        The cost of unused hours for your reservation.
      • realizedSavings

        public final String realizedSavings()

        The realized savings because of purchasing and using a reservation.

        Returns:
        The realized savings because of purchasing and using a reservation.
      • unrealizedSavings

        public final String unrealizedSavings()

        The unrealized savings because of purchasing and using a reservation.

        Returns:
        The unrealized savings because of purchasing and using a reservation.
      • 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)