Class ReservationPurchaseRecommendationDetail

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

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

Details about your recommended reservation purchase.

See Also:
  • Method Details

    • 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.
    • 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<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends ReservationPurchaseRecommendationDetail.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.