Interface AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,
,AutoScalingGroupSavingsOpportunityAfterDiscounts> SdkBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,
,AutoScalingGroupSavingsOpportunityAfterDiscounts> SdkPojo
- Enclosing class:
AutoScalingGroupSavingsOpportunityAfterDiscounts
-
Method Summary
Modifier and TypeMethodDescriptionestimatedMonthlySavings
(Consumer<AutoScalingGroupEstimatedMonthlySavings.Builder> estimatedMonthlySavings) An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations.estimatedMonthlySavings
(AutoScalingGroupEstimatedMonthlySavings estimatedMonthlySavings) An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations.savingsOpportunityPercentage
(Double savingsOpportunityPercentage) The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts.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
-
savingsOpportunityPercentage
AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage) The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s Auto Scaling group recommendations.
- Parameters:
savingsOpportunityPercentage
- The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s Auto Scaling group recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(AutoScalingGroupEstimatedMonthlySavings estimatedMonthlySavings) An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.
- Parameters:
estimatedMonthlySavings
- An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(Consumer<AutoScalingGroupEstimatedMonthlySavings.Builder> estimatedMonthlySavings) An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances pricing discounts.
This is a convenience method that creates an instance of theAutoScalingGroupEstimatedMonthlySavings.Builder
avoiding the need to create one manually viaAutoScalingGroupEstimatedMonthlySavings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toestimatedMonthlySavings(AutoScalingGroupEstimatedMonthlySavings)
.- Parameters:
estimatedMonthlySavings
- a consumer that will call methods onAutoScalingGroupEstimatedMonthlySavings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-