Class ReservationAggregates

java.lang.Object
software.amazon.awssdk.services.costexplorer.model.ReservationAggregates
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ReservationAggregates.Builder,ReservationAggregates>

@Generated("software.amazon.awssdk:codegen") public final class ReservationAggregates extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationAggregates.Builder,ReservationAggregates>

The aggregated numbers for your reservation usage.

See Also:
  • Method Details

    • 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.
    • toBuilder

      public ReservationAggregates.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ReservationAggregates.Builder,ReservationAggregates>
      Returns:
      a builder for type T
    • builder

      public static ReservationAggregates.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ReservationAggregates.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.