Interface LambdaSavingsOpportunityAfterDiscounts.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaSavingsOpportunityAfterDiscounts.Builder,
,LambdaSavingsOpportunityAfterDiscounts> SdkBuilder<LambdaSavingsOpportunityAfterDiscounts.Builder,
,LambdaSavingsOpportunityAfterDiscounts> SdkPojo
- Enclosing class:
LambdaSavingsOpportunityAfterDiscounts
public static interface LambdaSavingsOpportunityAfterDiscounts.Builder
extends SdkPojo, CopyableBuilder<LambdaSavingsOpportunityAfterDiscounts.Builder,LambdaSavingsOpportunityAfterDiscounts>
-
Method Summary
Modifier and TypeMethodDescriptionestimatedMonthlySavings
(Consumer<LambdaEstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations.estimatedMonthlySavings
(LambdaEstimatedMonthlySavings estimatedMonthlySavings) The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations.savingsOpportunityPercentage
(Double savingsOpportunityPercentage) The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda function recommendations.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
LambdaSavingsOpportunityAfterDiscounts.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage) The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
- Parameters:
savingsOpportunityPercentage
- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
LambdaSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(LambdaEstimatedMonthlySavings estimatedMonthlySavings) The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
- Parameters:
estimatedMonthlySavings
- The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default LambdaSavingsOpportunityAfterDiscounts.Builder estimatedMonthlySavings(Consumer<LambdaEstimatedMonthlySavings.Builder> estimatedMonthlySavings) The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations. This includes any applicable Savings Plans discounts.
This is a convenience method that creates an instance of theLambdaEstimatedMonthlySavings.Builder
avoiding the need to create one manually viaLambdaEstimatedMonthlySavings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toestimatedMonthlySavings(LambdaEstimatedMonthlySavings)
.- Parameters:
estimatedMonthlySavings
- a consumer that will call methods onLambdaEstimatedMonthlySavings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-