Interface ReservationPurchaseRecommendationDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>, SdkBuilder<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>, SdkPojo
Enclosing class:
ReservationPurchaseRecommendationDetail

public static interface ReservationPurchaseRecommendationDetail.Builder extends SdkPojo, CopyableBuilder<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>
  • Method Details

    • accountId

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

      Parameters:
      accountId - The account that this Reserved Instance (RI) recommendation is for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceDetails

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

      Parameters:
      instanceDetails - Details about the reservations that Amazon Web Services recommends that you purchase.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceDetails

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

      This is a convenience method that creates an instance of the InstanceDetails.Builder avoiding the need to create one manually via InstanceDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceDetails(InstanceDetails).

      Parameters:
      instanceDetails - a consumer that will call methods on InstanceDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recommendedNumberOfInstancesToPurchase

      ReservationPurchaseRecommendationDetail.Builder recommendedNumberOfInstancesToPurchase(String recommendedNumberOfInstancesToPurchase)

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

      Parameters:
      recommendedNumberOfInstancesToPurchase - The number of instances that Amazon Web Services recommends that you purchase.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedNormalizedUnitsToPurchase

      ReservationPurchaseRecommendationDetail.Builder recommendedNormalizedUnitsToPurchase(String recommendedNormalizedUnitsToPurchase)

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

      Parameters:
      recommendedNormalizedUnitsToPurchase - The number of normalized units that Amazon Web Services recommends that you purchase.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minimumNumberOfInstancesUsedPerHour

      ReservationPurchaseRecommendationDetail.Builder minimumNumberOfInstancesUsedPerHour(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • minimumNormalizedUnitsUsedPerHour

      ReservationPurchaseRecommendationDetail.Builder minimumNormalizedUnitsUsedPerHour(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • maximumNumberOfInstancesUsedPerHour

      ReservationPurchaseRecommendationDetail.Builder maximumNumberOfInstancesUsedPerHour(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • maximumNormalizedUnitsUsedPerHour

      ReservationPurchaseRecommendationDetail.Builder maximumNormalizedUnitsUsedPerHour(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • averageNumberOfInstancesUsedPerHour

      ReservationPurchaseRecommendationDetail.Builder averageNumberOfInstancesUsedPerHour(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • averageNormalizedUnitsUsedPerHour

      ReservationPurchaseRecommendationDetail.Builder averageNormalizedUnitsUsedPerHour(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • averageUtilization

      ReservationPurchaseRecommendationDetail.Builder averageUtilization(String averageUtilization)

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

      Parameters:
      averageUtilization - The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedBreakEvenInMonths

      ReservationPurchaseRecommendationDetail.Builder estimatedBreakEvenInMonths(String estimatedBreakEvenInMonths)

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

      Parameters:
      estimatedBreakEvenInMonths - How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

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

      Parameters:
      currencyCode - The currency code that Amazon Web Services used to calculate the costs for this instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavingsAmount

      ReservationPurchaseRecommendationDetail.Builder estimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount)

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

      Parameters:
      estimatedMonthlySavingsAmount - How much Amazon Web Services estimates that this specific recommendation might save you in a month.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavingsPercentage

      ReservationPurchaseRecommendationDetail.Builder estimatedMonthlySavingsPercentage(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlyOnDemandCost

      ReservationPurchaseRecommendationDetail.Builder estimatedMonthlyOnDemandCost(String estimatedMonthlyOnDemandCost)

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

      Parameters:
      estimatedMonthlyOnDemandCost - How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedReservationCostForLookbackPeriod

      ReservationPurchaseRecommendationDetail.Builder estimatedReservationCostForLookbackPeriod(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontCost

      How much purchasing this instance costs you upfront.

      Parameters:
      upfrontCost - How much purchasing this instance costs you upfront.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recurringStandardMonthlyCost

      ReservationPurchaseRecommendationDetail.Builder recurringStandardMonthlyCost(String recurringStandardMonthlyCost)

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

      Parameters:
      recurringStandardMonthlyCost - How much purchasing this instance costs you on a monthly basis.
      Returns:
      Returns a reference to this object so that method calls can be chained together.