Interface SavingsPlansPurchaseRecommendationDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansPurchaseRecommendationDetail.Builder,
,SavingsPlansPurchaseRecommendationDetail> SdkBuilder<SavingsPlansPurchaseRecommendationDetail.Builder,
,SavingsPlansPurchaseRecommendationDetail> SdkPojo
- Enclosing class:
SavingsPlansPurchaseRecommendationDetail
-
Method Summary
Modifier and TypeMethodDescriptionTheAccountID
the recommendation is generated for.currencyCode
(String currencyCode) The currency code that Amazon Web Services used to generate the recommendations and present potential savings.currentAverageHourlyOnDemandSpend
(String currentAverageHourlyOnDemandSpend) The average value of hourly On-Demand spend over the lookback period of the applicable usage type.currentMaximumHourlyOnDemandSpend
(String currentMaximumHourlyOnDemandSpend) The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.currentMinimumHourlyOnDemandSpend
(String currentMinimumHourlyOnDemandSpend) The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.estimatedAverageUtilization
(String estimatedAverageUtilization) The estimated utilization of the recommended Savings Plans.estimatedMonthlySavingsAmount
(String estimatedMonthlySavingsAmount) The estimated monthly savings amount based on the recommended Savings Plans.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.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.estimatedROI
(String estimatedROI) The estimated return on investment that's based on the recommended Savings Plans that you purchased.estimatedSavingsAmount
(String estimatedSavingsAmount) The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.estimatedSavingsPercentage
(String estimatedSavingsPercentage) The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.estimatedSPCost
(String estimatedSPCost) The cost of the recommended Savings Plans over the length of the lookback period.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.recommendationDetailId
(String recommendationDetailId) Contains detailed information about a specific Savings Plan recommendation.savingsPlansDetails
(Consumer<SavingsPlansDetails.Builder> savingsPlansDetails) Details for your recommended Savings Plans.savingsPlansDetails
(SavingsPlansDetails savingsPlansDetails) Details for your recommended Savings Plans.upfrontCost
(String upfrontCost) The upfront cost of the recommended Savings Plans, based on the selected payment option.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
savingsPlansDetails
SavingsPlansPurchaseRecommendationDetail.Builder savingsPlansDetails(SavingsPlansDetails 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
default SavingsPlansPurchaseRecommendationDetail.Builder savingsPlansDetails(Consumer<SavingsPlansDetails.Builder> savingsPlansDetails) Details for your recommended Savings Plans.
This is a convenience method that creates an instance of theSavingsPlansDetails.Builder
avoiding the need to create one manually viaSavingsPlansDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsPlansDetails(SavingsPlansDetails)
.- Parameters:
savingsPlansDetails
- a consumer that will call methods onSavingsPlansDetails.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
- TheAccountID
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 asestimatedSavingsAmount
/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
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.
-