Interface LambdaEffectiveRecommendationPreferences.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaEffectiveRecommendationPreferences.Builder,,LambdaEffectiveRecommendationPreferences> SdkBuilder<LambdaEffectiveRecommendationPreferences.Builder,,LambdaEffectiveRecommendationPreferences> SdkPojo
- Enclosing class:
LambdaEffectiveRecommendationPreferences
public static interface LambdaEffectiveRecommendationPreferences.Builder
extends SdkPojo, CopyableBuilder<LambdaEffectiveRecommendationPreferences.Builder,LambdaEffectiveRecommendationPreferences>
-
Method Summary
Modifier and TypeMethodDescriptionsavingsEstimationMode(Consumer<LambdaSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.savingsEstimationMode(LambdaSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
savingsEstimationMode
LambdaEffectiveRecommendationPreferences.Builder savingsEstimationMode(LambdaSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
- Parameters:
savingsEstimationMode- Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsEstimationMode
default LambdaEffectiveRecommendationPreferences.Builder savingsEstimationMode(Consumer<LambdaSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode applied for calculating savings opportunity for Lambda functions.
This is a convenience method that creates an instance of theLambdaSavingsEstimationMode.Builderavoiding the need to create one manually viaLambdaSavingsEstimationMode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosavingsEstimationMode(LambdaSavingsEstimationMode).- Parameters:
savingsEstimationMode- a consumer that will call methods onLambdaSavingsEstimationMode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-