Interface RecommendationDetailData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecommendationDetailData.Builder,
,RecommendationDetailData> SdkBuilder<RecommendationDetailData.Builder,
,RecommendationDetailData> SdkPojo
- Enclosing class:
RecommendationDetailData
-
Method Summary
Modifier and TypeMethodDescriptionThe AccountID that the recommendation is generated for.accountScope
(String accountScope) The account scope that you want your recommendations for.accountScope
(AccountScope accountScope) The account scope that you want your recommendations for.currencyCode
(String currencyCode) The currency code that Amazon Web Services used to generate the recommendation and present potential savings.currentAverageCoverage
(String currentAverageCoverage) The average value of hourly coverage over the lookback period.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.estimatedAverageCoverage
(String estimatedAverageCoverage) The estimated coverage of the recommended Savings Plan.estimatedAverageUtilization
(String estimatedAverageUtilization) The estimated utilization of the recommended Savings Plan.estimatedMonthlySavingsAmount
(String estimatedMonthlySavingsAmount) The estimated monthly savings amount based on the recommended Savings Plan.estimatedOnDemandCost
(String estimatedOnDemandCost) The remaining On-Demand cost estimated to not be covered by the recommended Savings Plan, 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 Plan you own.estimatedROI
(String estimatedROI) The estimated return on investment that's based on the recommended Savings Plan that you purchased.estimatedSavingsAmount
(String estimatedSavingsAmount) The estimated savings amount that's based on the recommended Savings Plan 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 Plan over the length of the lookback period.existingHourlyCommitment
(String existingHourlyCommitment) The existing hourly commitment for the Savings Plan type.generationTimestamp
(String generationTimestamp) Sets the value of the GenerationTimestamp property for this object.hourlyCommitmentToPurchase
(String hourlyCommitmentToPurchase) The recommended hourly commitment level for the Savings Plan type and the configuration that's based on the usage during the lookback period.instanceFamily
(String instanceFamily) The instance family of the recommended Savings Plan.latestUsageTimestamp
(String latestUsageTimestamp) Sets the value of the LatestUsageTimestamp property for this object.lookbackPeriodInDays
(String lookbackPeriodInDays) How many days of previous usage that Amazon Web Services considers when making this recommendation.lookbackPeriodInDays
(LookbackPeriodInDays lookbackPeriodInDays) How many days of previous usage that Amazon Web Services considers when making this recommendation.metricsOverLookbackPeriod
(Collection<RecommendationDetailHourlyMetrics> metricsOverLookbackPeriod) The related hourly cost, coverage, and utilization metrics over the lookback period.metricsOverLookbackPeriod
(Consumer<RecommendationDetailHourlyMetrics.Builder>... metricsOverLookbackPeriod) The related hourly cost, coverage, and utilization metrics over the lookback period.metricsOverLookbackPeriod
(RecommendationDetailHourlyMetrics... metricsOverLookbackPeriod) The related hourly cost, coverage, and utilization metrics over the lookback period.offeringId
(String offeringId) The unique ID that's used to distinguish Savings Plans from one another.paymentOption
(String paymentOption) The payment option for the commitment (for example, All Upfront or No Upfront).paymentOption
(PaymentOption paymentOption) The payment option for the commitment (for example, All Upfront or No Upfront).The region the recommendation is generated for.savingsPlansType
(String savingsPlansType) The requested Savings Plan recommendation type.savingsPlansType
(SupportedSavingsPlansType savingsPlansType) The requested Savings Plan recommendation type.termInYears
(String termInYears) The term of the commitment in years.termInYears
(TermInYears termInYears) The term of the commitment in years.upfrontCost
(String upfrontCost) The upfront cost of the recommended 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, sdkFields
-
Method Details
-
accountScope
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.
- Parameters:
accountScope
- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountScope
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.
- Parameters:
accountScope
- The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lookbackPeriodInDays
How many days of previous usage that Amazon Web Services considers when making this recommendation.
- Parameters:
lookbackPeriodInDays
- How many days of previous usage that Amazon Web Services considers when making this recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lookbackPeriodInDays
How many days of previous usage that Amazon Web Services considers when making this recommendation.
- Parameters:
lookbackPeriodInDays
- How many days of previous usage that Amazon Web Services considers when making this recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansType
The requested Savings Plan recommendation type.
- Parameters:
savingsPlansType
- The requested Savings Plan recommendation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansType
The requested Savings Plan recommendation type.
- Parameters:
savingsPlansType
- The requested Savings Plan recommendation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
termInYears
The term of the commitment in years.
- Parameters:
termInYears
- The term of the commitment in years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
termInYears
The term of the commitment in years.
- Parameters:
termInYears
- The term of the commitment in years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The payment option for the commitment (for example, All Upfront or No Upfront).
- Parameters:
paymentOption
- The payment option for the commitment (for example, All Upfront or No Upfront).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
The payment option for the commitment (for example, All Upfront or No Upfront).
- Parameters:
paymentOption
- The payment option for the commitment (for example, All Upfront or No Upfront).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountId
The AccountID that the recommendation is generated for.
- Parameters:
accountId
- The AccountID that the recommendation is generated for.- 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 recommendation and present potential savings.
- Parameters:
currencyCode
- The currency code that Amazon Web Services used to generate the recommendation and present potential savings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamily
The instance family of the recommended Savings Plan.
- Parameters:
instanceFamily
- The instance family of the recommended Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The region the recommendation is generated for.
- Parameters:
region
- The region the recommendation is generated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringId
The unique ID that's used to distinguish Savings Plans from one another.
- Parameters:
offeringId
- The unique ID that's used to distinguish Savings Plans from one another.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationTimestamp
Sets the value of the GenerationTimestamp property for this object.- Parameters:
generationTimestamp
- The new value for the GenerationTimestamp property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestUsageTimestamp
Sets the value of the LatestUsageTimestamp property for this object.- Parameters:
latestUsageTimestamp
- The new value for the LatestUsageTimestamp property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentAverageHourlyOnDemandSpend
RecommendationDetailData.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.
-
currentMaximumHourlyOnDemandSpend
RecommendationDetailData.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.
-
currentMinimumHourlyOnDemandSpend
RecommendationDetailData.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.
-
estimatedAverageUtilization
The estimated utilization of the recommended Savings Plan.
- Parameters:
estimatedAverageUtilization
- The estimated utilization of the recommended Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavingsAmount
RecommendationDetailData.Builder estimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount) The estimated monthly savings amount based on the recommended Savings Plan.
- Parameters:
estimatedMonthlySavingsAmount
- The estimated monthly savings amount based on the recommended Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedOnDemandCost
The remaining On-Demand cost estimated to not be covered by the recommended Savings Plan, over the length of the lookback period.
- Parameters:
estimatedOnDemandCost
- The remaining On-Demand cost estimated to not be covered by the recommended 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
RecommendationDetailData.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 Plan 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 Plan you own.- 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 Plan that you purchased. This is calculated as estimatedSavingsAmount/estimatedSPCost*100.
- Parameters:
estimatedROI
- The estimated return on investment that's based on the recommended Savings Plan 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.
-
estimatedSPCost
The cost of the recommended Savings Plan over the length of the lookback period.
- Parameters:
estimatedSPCost
- The cost of the recommended Savings Plan over the length of the lookback period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedSavingsAmount
The estimated savings amount that's based on the recommended Savings Plan over the length of the lookback period.
- Parameters:
estimatedSavingsAmount
- The estimated savings amount that's based on the recommended 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
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.
-
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
The recommended hourly commitment level for the Savings Plan type and the configuration that's based on the usage during the lookback period.
- Parameters:
hourlyCommitmentToPurchase
- The recommended hourly commitment level for the Savings Plan 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.
-
upfrontCost
The upfront cost of the recommended Savings Plan, based on the selected payment option.
- Parameters:
upfrontCost
- The upfront cost of the recommended Savings Plan, based on the selected payment option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
estimatedAverageCoverage
The estimated coverage of the recommended Savings Plan.
- Parameters:
estimatedAverageCoverage
- The estimated coverage of the recommended Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsOverLookbackPeriod
RecommendationDetailData.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
RecommendationDetailData.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
RecommendationDetailData.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.Builder
avoiding the need to create one manually viaRecommendationDetailHourlyMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricsOverLookbackPeriod(List<RecommendationDetailHourlyMetrics>)
.- 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:
-