public static interface LambdaFunctionMemoryRecommendationOption.Builder extends SdkPojo, CopyableBuilder<LambdaFunctionMemoryRecommendationOption.Builder,LambdaFunctionMemoryRecommendationOption>
| Modifier and Type | Method and Description |
|---|---|
LambdaFunctionMemoryRecommendationOption.Builder |
memorySize(Integer memorySize)
The memory size, in MB, of the function recommendation option.
|
LambdaFunctionMemoryRecommendationOption.Builder |
projectedUtilizationMetrics(Collection<LambdaFunctionMemoryProjectedMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the function recommendation option.
|
LambdaFunctionMemoryRecommendationOption.Builder |
projectedUtilizationMetrics(Consumer<LambdaFunctionMemoryProjectedMetric.Builder>... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the function recommendation option.
|
LambdaFunctionMemoryRecommendationOption.Builder |
projectedUtilizationMetrics(LambdaFunctionMemoryProjectedMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the function recommendation option.
|
LambdaFunctionMemoryRecommendationOption.Builder |
rank(Integer rank)
The rank of the function recommendation option.
|
default LambdaFunctionMemoryRecommendationOption.Builder |
savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)
An object that describes the savings opportunity for the Lambda function recommendation option.
|
LambdaFunctionMemoryRecommendationOption.Builder |
savingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for the Lambda function recommendation option.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLambdaFunctionMemoryRecommendationOption.Builder rank(Integer rank)
The rank of the function recommendation option.
The top recommendation option is ranked as 1.
rank - The rank of the function recommendation option.
The top recommendation option is ranked as 1.
LambdaFunctionMemoryRecommendationOption.Builder memorySize(Integer memorySize)
The memory size, in MB, of the function recommendation option.
memorySize - The memory size, in MB, of the function recommendation option.LambdaFunctionMemoryRecommendationOption.Builder projectedUtilizationMetrics(Collection<LambdaFunctionMemoryProjectedMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the function recommendation option.
projectedUtilizationMetrics - An array of objects that describe the projected utilization metrics of the function recommendation
option.LambdaFunctionMemoryRecommendationOption.Builder projectedUtilizationMetrics(LambdaFunctionMemoryProjectedMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the function recommendation option.
projectedUtilizationMetrics - An array of objects that describe the projected utilization metrics of the function recommendation
option.LambdaFunctionMemoryRecommendationOption.Builder projectedUtilizationMetrics(Consumer<LambdaFunctionMemoryProjectedMetric.Builder>... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the function recommendation option.
This is a convenience method that creates an instance of theLambdaFunctionMemoryProjectedMetric.Builder
avoiding the need to create one manually via
LambdaFunctionMemoryProjectedMetric.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #projectedUtilizationMetrics(List.
projectedUtilizationMetrics - a consumer that will call methods on
LambdaFunctionMemoryProjectedMetric.Builder#projectedUtilizationMetrics(java.util.Collection) LambdaFunctionMemoryRecommendationOption.Builder savingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for the Lambda function recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
savingsOpportunity - An object that describes the savings opportunity for the Lambda function recommendation option.
Savings opportunity includes the estimated monthly savings amount and percentage.default LambdaFunctionMemoryRecommendationOption.Builder savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)
An object that describes the savings opportunity for the Lambda function recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
This is a convenience method that creates an instance of theSavingsOpportunity.Builder avoiding the
need to create one manually via SavingsOpportunity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to savingsOpportunity(SavingsOpportunity).
savingsOpportunity - a consumer that will call methods on SavingsOpportunity.BuildersavingsOpportunity(SavingsOpportunity)Copyright © 2023. All rights reserved.