Interface SavingsPlansPurchaseRecommendationDetail.Builder

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

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

    • savingsPlansDetails

      Details for your recommended Savings Plans.

      Parameters:
      savingsPlansDetails - Details for your recommended Savings Plans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • savingsPlansDetails

      Details for your recommended Savings Plans.

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

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

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

      The AccountID the recommendation is generated for.

      Parameters:
      accountId - The AccountID the recommendation is generated for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontCost

      The upfront cost of the recommended Savings Plans, based on the selected payment option.

      Parameters:
      upfrontCost - The upfront cost of the recommended Savings Plans, based on the selected payment option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedROI

      The estimated return on investment that's based on the recommended Savings Plans that you purchased. This is calculated as estimatedSavingsAmount/ estimatedSPCost*100.

      Parameters:
      estimatedROI - The estimated return on investment that's based on the recommended Savings Plans that you purchased. This is calculated as estimatedSavingsAmount/ estimatedSPCost*100.
      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 generate the recommendations and present potential savings.

      Parameters:
      currencyCode - The currency code that Amazon Web Services used to generate the recommendations and present potential savings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedSPCost

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedSPCost(String estimatedSPCost)

      The cost of the recommended Savings Plans over the length of the lookback period.

      Parameters:
      estimatedSPCost - The cost of the recommended Savings Plans over the length of the lookback period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedOnDemandCost

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedOnDemandCost(String estimatedOnDemandCost)

      The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.

      Parameters:
      estimatedOnDemandCost - The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedOnDemandCostWithCurrentCommitment

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedOnDemandCostWithCurrentCommitment(String estimatedOnDemandCostWithCurrentCommitment)

      The estimated On-Demand costs you expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.

      Parameters:
      estimatedOnDemandCostWithCurrentCommitment - The estimated On-Demand costs you expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedSavingsAmount

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedSavingsAmount(String estimatedSavingsAmount)

      The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.

      Parameters:
      estimatedSavingsAmount - The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedSavingsPercentage

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedSavingsPercentage(String estimatedSavingsPercentage)

      The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.

      Parameters:
      estimatedSavingsPercentage - The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hourlyCommitmentToPurchase

      SavingsPlansPurchaseRecommendationDetail.Builder hourlyCommitmentToPurchase(String hourlyCommitmentToPurchase)

      The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.

      Parameters:
      hourlyCommitmentToPurchase - The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedAverageUtilization

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedAverageUtilization(String estimatedAverageUtilization)

      The estimated utilization of the recommended Savings Plans.

      Parameters:
      estimatedAverageUtilization - The estimated utilization of the recommended Savings Plans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavingsAmount

      SavingsPlansPurchaseRecommendationDetail.Builder estimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount)

      The estimated monthly savings amount based on the recommended Savings Plans.

      Parameters:
      estimatedMonthlySavingsAmount - The estimated monthly savings amount based on the recommended Savings Plans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentMinimumHourlyOnDemandSpend

      SavingsPlansPurchaseRecommendationDetail.Builder currentMinimumHourlyOnDemandSpend(String currentMinimumHourlyOnDemandSpend)

      The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.

      Parameters:
      currentMinimumHourlyOnDemandSpend - The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentMaximumHourlyOnDemandSpend

      SavingsPlansPurchaseRecommendationDetail.Builder currentMaximumHourlyOnDemandSpend(String currentMaximumHourlyOnDemandSpend)

      The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.

      Parameters:
      currentMaximumHourlyOnDemandSpend - The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentAverageHourlyOnDemandSpend

      SavingsPlansPurchaseRecommendationDetail.Builder currentAverageHourlyOnDemandSpend(String currentAverageHourlyOnDemandSpend)

      The average value of hourly On-Demand spend over the lookback period of the applicable usage type.

      Parameters:
      currentAverageHourlyOnDemandSpend - The average value of hourly On-Demand spend over the lookback period of the applicable usage type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationDetailId

      SavingsPlansPurchaseRecommendationDetail.Builder recommendationDetailId(String recommendationDetailId)

      Contains detailed information about a specific Savings Plan recommendation.

      Parameters:
      recommendationDetailId - Contains detailed information about a specific Savings Plan recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.