Interface AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,AutoScalingGroupSavingsOpportunityAfterDiscounts>,SdkBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,AutoScalingGroupSavingsOpportunityAfterDiscounts>,SdkPojo
- Enclosing class:
- AutoScalingGroupSavingsOpportunityAfterDiscounts
public static interface AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder extends SdkPojo, CopyableBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,AutoScalingGroupSavingsOpportunityAfterDiscounts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutoScalingGroupSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(Consumer<AutoScalingGroupEstimatedMonthlySavings.Builder> estimatedMonthlySavings)An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations.AutoScalingGroupSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(AutoScalingGroupEstimatedMonthlySavings estimatedMonthlySavings)An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations.AutoScalingGroupSavingsOpportunityAfterDiscounts.BuildersavingsOpportunityPercentage(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 Detail
-
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.Builderavoiding the need to create one manually viaAutoScalingGroupEstimatedMonthlySavings.builder().When the
Consumercompletes,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:
estimatedMonthlySavings(AutoScalingGroupEstimatedMonthlySavings)
-
-