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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SavingsPlansPurchaseRecommendationDetail.BuilderaccountId(String accountId)TheAccountIDthe recommendation is generated for.SavingsPlansPurchaseRecommendationDetail.BuildercurrencyCode(String currencyCode)The currency code that Amazon Web Services used to generate the recommendations and present potential savings.SavingsPlansPurchaseRecommendationDetail.BuildercurrentAverageHourlyOnDemandSpend(String currentAverageHourlyOnDemandSpend)The average value of hourly On-Demand spend over the lookback period of the applicable usage type.SavingsPlansPurchaseRecommendationDetail.BuildercurrentMaximumHourlyOnDemandSpend(String currentMaximumHourlyOnDemandSpend)The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.SavingsPlansPurchaseRecommendationDetail.BuildercurrentMinimumHourlyOnDemandSpend(String currentMinimumHourlyOnDemandSpend)The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedAverageUtilization(String estimatedAverageUtilization)The estimated utilization of the recommended Savings Plans.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount)The estimated monthly savings amount based on the recommended Savings Plans.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedOnDemandCost(String estimatedOnDemandCost)The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedOnDemandCostWithCurrentCommitment(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.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedROI(String estimatedROI)The estimated return on investment that's based on the recommended Savings Plans that you purchased.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedSavingsAmount(String estimatedSavingsAmount)The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedSavingsPercentage(String estimatedSavingsPercentage)The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.SavingsPlansPurchaseRecommendationDetail.BuilderestimatedSPCost(String estimatedSPCost)The cost of the recommended Savings Plans over the length of the lookback period.SavingsPlansPurchaseRecommendationDetail.BuilderhourlyCommitmentToPurchase(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.SavingsPlansPurchaseRecommendationDetail.BuilderrecommendationDetailId(String recommendationDetailId)Contains detailed information about a specific Savings Plan recommendation.default SavingsPlansPurchaseRecommendationDetail.BuildersavingsPlansDetails(Consumer<SavingsPlansDetails.Builder> savingsPlansDetails)Details for your recommended Savings Plans.SavingsPlansPurchaseRecommendationDetail.BuildersavingsPlansDetails(SavingsPlansDetails savingsPlansDetails)Details for your recommended Savings Plans.SavingsPlansPurchaseRecommendationDetail.BuilderupfrontCost(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 Detail
-
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.Builderavoiding the need to create one manually viaSavingsPlansDetails.builder().When the
Consumercompletes,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:
savingsPlansDetails(SavingsPlansDetails)
-
accountId
SavingsPlansPurchaseRecommendationDetail.Builder accountId(String accountId)
The
AccountIDthe recommendation is generated for.- Parameters:
accountId- TheAccountIDthe recommendation is generated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontCost
SavingsPlansPurchaseRecommendationDetail.Builder upfrontCost(String 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
SavingsPlansPurchaseRecommendationDetail.Builder estimatedROI(String 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
SavingsPlansPurchaseRecommendationDetail.Builder currencyCode(String 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.
-
-