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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LambdaSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(Consumer<LambdaEstimatedMonthlySavings.Builder> estimatedMonthlySavings)The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations.LambdaSavingsOpportunityAfterDiscounts.BuilderestimatedMonthlySavings(LambdaEstimatedMonthlySavings estimatedMonthlySavings)The estimated monthly savings possible by adopting Compute Optimizer’s Lambda function recommendations.LambdaSavingsOpportunityAfterDiscounts.BuildersavingsOpportunityPercentage(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 Detail
-
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.Builderavoiding the need to create one manually viaLambdaEstimatedMonthlySavings.builder().When the
Consumercompletes,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:
estimatedMonthlySavings(LambdaEstimatedMonthlySavings)
-
-