Interface SavingsPlansPurchaseAnalysisDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlansPurchaseAnalysisDetails.Builder,SavingsPlansPurchaseAnalysisDetails>,SdkBuilder<SavingsPlansPurchaseAnalysisDetails.Builder,SavingsPlansPurchaseAnalysisDetails>,SdkPojo
- Enclosing class:
- SavingsPlansPurchaseAnalysisDetails
public static interface SavingsPlansPurchaseAnalysisDetails.Builder extends SdkPojo, CopyableBuilder<SavingsPlansPurchaseAnalysisDetails.Builder,SavingsPlansPurchaseAnalysisDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SavingsPlansPurchaseAnalysisDetails.BuilderadditionalMetadata(String additionalMetadata)Additional metadata that might be applicable to the commitment.SavingsPlansPurchaseAnalysisDetails.BuildercurrencyCode(String currencyCode)The currency code used for the analysis.SavingsPlansPurchaseAnalysisDetails.BuildercurrentAverageCoverage(String currentAverageCoverage)The average value of hourly coverage over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuildercurrentAverageHourlyOnDemandSpend(String currentAverageHourlyOnDemandSpend)The average value of hourly On-Demand spend over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuildercurrentMaximumHourlyOnDemandSpend(String currentMaximumHourlyOnDemandSpend)The highest value of hourly On-Demand spend over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuildercurrentMinimumHourlyOnDemandSpend(String currentMinimumHourlyOnDemandSpend)The lowest value of hourly On-Demand spend over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuildercurrentOnDemandSpend(String currentOnDemandSpend)The current total On-Demand spend over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedAverageCoverage(String estimatedAverageCoverage)The estimated coverage of the Savings Plan.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedAverageUtilization(String estimatedAverageUtilization)The estimated utilization of the Savings Plan.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedCommitmentCost(String estimatedCommitmentCost)The estimated cost of the Savings Plan over the length of the lookback period.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount)The estimated monthly savings amount based on the Savings Plan.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedOnDemandCost(String estimatedOnDemandCost)The remaining On-Demand cost estimated to not be covered by the Savings Plan over the length of the lookback period.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedOnDemandCostWithCurrentCommitment(String estimatedOnDemandCostWithCurrentCommitment)The estimated On-Demand cost you expect with no additional commitment based on your usage of the selected time period and the Savings Plan you own.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedROI(String estimatedROI)The estimated return on investment that's based on the Savings Plan and estimated savings.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedSavingsAmount(String estimatedSavingsAmount)The estimated savings amount that's based on the Savings Plan over the length of the lookback period.SavingsPlansPurchaseAnalysisDetails.BuilderestimatedSavingsPercentage(String estimatedSavingsPercentage)The estimated savings percentage relative to the total cost over the cost calculation lookback period.SavingsPlansPurchaseAnalysisDetails.BuilderexistingHourlyCommitment(String existingHourlyCommitment)The existing hourly commitment for the Savings Plan type.SavingsPlansPurchaseAnalysisDetails.BuilderhourlyCommitmentToPurchase(String hourlyCommitmentToPurchase)The recommended or custom hourly commitment.SavingsPlansPurchaseAnalysisDetails.BuilderlatestUsageTimestamp(String latestUsageTimestamp)The date and time of the last hour that went into the analysis.SavingsPlansPurchaseAnalysisDetails.BuilderlookbackPeriodInHours(String lookbackPeriodInHours)The lookback period in hours that's used to generate the analysis.SavingsPlansPurchaseAnalysisDetails.BuildermetricsOverLookbackPeriod(Collection<RecommendationDetailHourlyMetrics> metricsOverLookbackPeriod)The related hourly cost, coverage, and utilization metrics over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuildermetricsOverLookbackPeriod(Consumer<RecommendationDetailHourlyMetrics.Builder>... metricsOverLookbackPeriod)The related hourly cost, coverage, and utilization metrics over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuildermetricsOverLookbackPeriod(RecommendationDetailHourlyMetrics... metricsOverLookbackPeriod)The related hourly cost, coverage, and utilization metrics over the lookback period.SavingsPlansPurchaseAnalysisDetails.BuilderupfrontCost(String upfrontCost)The upfront cost of the Savings Plan 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
currencyCode
SavingsPlansPurchaseAnalysisDetails.Builder currencyCode(String currencyCode)
The currency code used for the analysis.
- Parameters:
currencyCode- The currency code used for the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lookbackPeriodInHours
SavingsPlansPurchaseAnalysisDetails.Builder lookbackPeriodInHours(String lookbackPeriodInHours)
The lookback period in hours that's used to generate the analysis.
- Parameters:
lookbackPeriodInHours- The lookback period in hours that's used to generate the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentAverageCoverage
SavingsPlansPurchaseAnalysisDetails.Builder currentAverageCoverage(String currentAverageCoverage)
The average value of hourly coverage over the lookback period.
- Parameters:
currentAverageCoverage- The average value of hourly coverage over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentAverageHourlyOnDemandSpend
SavingsPlansPurchaseAnalysisDetails.Builder currentAverageHourlyOnDemandSpend(String currentAverageHourlyOnDemandSpend)
The average value of hourly On-Demand spend over the lookback period.
- Parameters:
currentAverageHourlyOnDemandSpend- The average value of hourly On-Demand spend over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentMaximumHourlyOnDemandSpend
SavingsPlansPurchaseAnalysisDetails.Builder currentMaximumHourlyOnDemandSpend(String currentMaximumHourlyOnDemandSpend)
The highest value of hourly On-Demand spend over the lookback period.
- Parameters:
currentMaximumHourlyOnDemandSpend- The highest value of hourly On-Demand spend over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentMinimumHourlyOnDemandSpend
SavingsPlansPurchaseAnalysisDetails.Builder currentMinimumHourlyOnDemandSpend(String currentMinimumHourlyOnDemandSpend)
The lowest value of hourly On-Demand spend over the lookback period.
- Parameters:
currentMinimumHourlyOnDemandSpend- The lowest value of hourly On-Demand spend over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentOnDemandSpend
SavingsPlansPurchaseAnalysisDetails.Builder currentOnDemandSpend(String currentOnDemandSpend)
The current total On-Demand spend over the lookback period.
- Parameters:
currentOnDemandSpend- The current total On-Demand spend over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingHourlyCommitment
SavingsPlansPurchaseAnalysisDetails.Builder existingHourlyCommitment(String existingHourlyCommitment)
The existing hourly commitment for the Savings Plan type.
- Parameters:
existingHourlyCommitment- The existing hourly commitment for the Savings Plan type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hourlyCommitmentToPurchase
SavingsPlansPurchaseAnalysisDetails.Builder hourlyCommitmentToPurchase(String hourlyCommitmentToPurchase)
The recommended or custom hourly commitment.
- Parameters:
hourlyCommitmentToPurchase- The recommended or custom hourly commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedAverageCoverage
SavingsPlansPurchaseAnalysisDetails.Builder estimatedAverageCoverage(String estimatedAverageCoverage)
The estimated coverage of the Savings Plan.
- Parameters:
estimatedAverageCoverage- The estimated coverage of the Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedAverageUtilization
SavingsPlansPurchaseAnalysisDetails.Builder estimatedAverageUtilization(String estimatedAverageUtilization)
The estimated utilization of the Savings Plan.
- Parameters:
estimatedAverageUtilization- The estimated utilization of the Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavingsAmount
SavingsPlansPurchaseAnalysisDetails.Builder estimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount)
The estimated monthly savings amount based on the Savings Plan.
- Parameters:
estimatedMonthlySavingsAmount- The estimated monthly savings amount based on the Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedOnDemandCost
SavingsPlansPurchaseAnalysisDetails.Builder estimatedOnDemandCost(String estimatedOnDemandCost)
The remaining On-Demand cost estimated to not be covered by the Savings Plan over the length of the lookback period.
- Parameters:
estimatedOnDemandCost- The remaining On-Demand cost estimated to not be covered by the Savings Plan over the length of the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedOnDemandCostWithCurrentCommitment
SavingsPlansPurchaseAnalysisDetails.Builder estimatedOnDemandCostWithCurrentCommitment(String estimatedOnDemandCostWithCurrentCommitment)
The estimated On-Demand cost you expect with no additional commitment based on your usage of the selected time period and the Savings Plan you own.
- Parameters:
estimatedOnDemandCostWithCurrentCommitment- The estimated On-Demand cost you expect with no additional commitment based on your usage of the selected time period and the Savings Plan you own.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedROI
SavingsPlansPurchaseAnalysisDetails.Builder estimatedROI(String estimatedROI)
The estimated return on investment that's based on the Savings Plan and estimated savings. This is calculated as estimatedSavingsAmount/estimatedSPCost*100.
- Parameters:
estimatedROI- The estimated return on investment that's based on the Savings Plan and estimated savings. This is calculated as estimatedSavingsAmount/estimatedSPCost*100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedSavingsAmount
SavingsPlansPurchaseAnalysisDetails.Builder estimatedSavingsAmount(String estimatedSavingsAmount)
The estimated savings amount that's based on the Savings Plan over the length of the lookback period.
- Parameters:
estimatedSavingsAmount- The estimated savings amount that's based on the Savings Plan over the length of the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedSavingsPercentage
SavingsPlansPurchaseAnalysisDetails.Builder estimatedSavingsPercentage(String estimatedSavingsPercentage)
The estimated savings percentage relative to the total cost over the cost calculation lookback period.
- Parameters:
estimatedSavingsPercentage- The estimated savings percentage relative to the total cost over the cost calculation lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedCommitmentCost
SavingsPlansPurchaseAnalysisDetails.Builder estimatedCommitmentCost(String estimatedCommitmentCost)
The estimated cost of the Savings Plan over the length of the lookback period.
- Parameters:
estimatedCommitmentCost- The estimated cost of the Savings Plan over the length of the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestUsageTimestamp
SavingsPlansPurchaseAnalysisDetails.Builder latestUsageTimestamp(String latestUsageTimestamp)
The date and time of the last hour that went into the analysis.
- Parameters:
latestUsageTimestamp- The date and time of the last hour that went into the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontCost
SavingsPlansPurchaseAnalysisDetails.Builder upfrontCost(String upfrontCost)
The upfront cost of the Savings Plan based on the selected payment option.
- Parameters:
upfrontCost- The upfront cost of the Savings Plan based on the selected payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalMetadata
SavingsPlansPurchaseAnalysisDetails.Builder additionalMetadata(String additionalMetadata)
Additional metadata that might be applicable to the commitment.
- Parameters:
additionalMetadata- Additional metadata that might be applicable to the commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsOverLookbackPeriod
SavingsPlansPurchaseAnalysisDetails.Builder metricsOverLookbackPeriod(Collection<RecommendationDetailHourlyMetrics> metricsOverLookbackPeriod)
The related hourly cost, coverage, and utilization metrics over the lookback period.
- Parameters:
metricsOverLookbackPeriod- The related hourly cost, coverage, and utilization metrics over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsOverLookbackPeriod
SavingsPlansPurchaseAnalysisDetails.Builder metricsOverLookbackPeriod(RecommendationDetailHourlyMetrics... metricsOverLookbackPeriod)
The related hourly cost, coverage, and utilization metrics over the lookback period.
- Parameters:
metricsOverLookbackPeriod- The related hourly cost, coverage, and utilization metrics over the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsOverLookbackPeriod
SavingsPlansPurchaseAnalysisDetails.Builder metricsOverLookbackPeriod(Consumer<RecommendationDetailHourlyMetrics.Builder>... metricsOverLookbackPeriod)
The related hourly cost, coverage, and utilization metrics over the lookback period.
This is a convenience method that creates an instance of theRecommendationDetailHourlyMetrics.Builderavoiding the need to create one manually viaRecommendationDetailHourlyMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricsOverLookbackPeriod(List.) - Parameters:
metricsOverLookbackPeriod- a consumer that will call methods onRecommendationDetailHourlyMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricsOverLookbackPeriod(java.util.Collection)
-
-