Interface LambdaFunction.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<LambdaFunction.Builder,,LambdaFunction> SdkBuilder<LambdaFunction.Builder,,LambdaFunction> SdkPojo
- Enclosing class:
 LambdaFunction
public static interface LambdaFunction.Builder
extends SdkPojo, CopyableBuilder<LambdaFunction.Builder,LambdaFunction> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault LambdaFunction.Builderconfiguration(Consumer<LambdaFunctionConfiguration.Builder> configuration) The Lambda function configuration used for recommendations.configuration(LambdaFunctionConfiguration configuration) The Lambda function configuration used for recommendations.default LambdaFunction.BuildercostCalculation(Consumer<ResourceCostCalculation.Builder> costCalculation) Cost impact of the recommendation.costCalculation(ResourceCostCalculation costCalculation) Cost impact of the recommendation.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, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
configuration
The Lambda function configuration used for recommendations.
- Parameters:
 configuration- The Lambda function configuration used for recommendations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
configuration
default LambdaFunction.Builder configuration(Consumer<LambdaFunctionConfiguration.Builder> configuration) The Lambda function configuration used for recommendations.
This is a convenience method that creates an instance of theLambdaFunctionConfiguration.Builderavoiding the need to create one manually viaLambdaFunctionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(LambdaFunctionConfiguration).- Parameters:
 configuration- a consumer that will call methods onLambdaFunctionConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
costCalculation
Cost impact of the recommendation.
- Parameters:
 costCalculation- Cost impact of the recommendation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
costCalculation
default LambdaFunction.Builder costCalculation(Consumer<ResourceCostCalculation.Builder> costCalculation) Cost impact of the recommendation.
This is a convenience method that creates an instance of theResourceCostCalculation.Builderavoiding the need to create one manually viaResourceCostCalculation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostCalculation(ResourceCostCalculation).- Parameters:
 costCalculation- a consumer that will call methods onResourceCostCalculation.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -