Interface GetLambdaFunctionRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetLambdaFunctionRecommendationsRequest.Builder,GetLambdaFunctionRecommendationsRequest>,SdkBuilder<GetLambdaFunctionRecommendationsRequest.Builder,GetLambdaFunctionRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetLambdaFunctionRecommendationsRequest
public static interface GetLambdaFunctionRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetLambdaFunctionRecommendationsRequest.Builder,GetLambdaFunctionRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLambdaFunctionRecommendationsRequest.BuilderaccountIds(String... accountIds)The ID of the Amazon Web Services account for which to return function recommendations.GetLambdaFunctionRecommendationsRequest.BuilderaccountIds(Collection<String> accountIds)The ID of the Amazon Web Services account for which to return function recommendations.GetLambdaFunctionRecommendationsRequest.Builderfilters(Collection<LambdaFunctionRecommendationFilter> filters)An array of objects to specify a filter that returns a more specific list of function recommendations.GetLambdaFunctionRecommendationsRequest.Builderfilters(Consumer<LambdaFunctionRecommendationFilter.Builder>... filters)An array of objects to specify a filter that returns a more specific list of function recommendations.GetLambdaFunctionRecommendationsRequest.Builderfilters(LambdaFunctionRecommendationFilter... filters)An array of objects to specify a filter that returns a more specific list of function recommendations.GetLambdaFunctionRecommendationsRequest.BuilderfunctionArns(String... functionArns)The Amazon Resource Name (ARN) of the functions for which to return recommendations.GetLambdaFunctionRecommendationsRequest.BuilderfunctionArns(Collection<String> functionArns)The Amazon Resource Name (ARN) of the functions for which to return recommendations.GetLambdaFunctionRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of function recommendations to return with a single request.GetLambdaFunctionRecommendationsRequest.BuildernextToken(String nextToken)The token to advance to the next page of function recommendations.GetLambdaFunctionRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetLambdaFunctionRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerRequest.Builder
build
-
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
-
functionArns
GetLambdaFunctionRecommendationsRequest.Builder functionArns(Collection<String> functionArns)
The Amazon Resource Name (ARN) of the functions for which to return recommendations.
You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest (
$LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.- Parameters:
functionArns- The Amazon Resource Name (ARN) of the functions for which to return recommendations.You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest (
$LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionArns
GetLambdaFunctionRecommendationsRequest.Builder functionArns(String... functionArns)
The Amazon Resource Name (ARN) of the functions for which to return recommendations.
You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest (
$LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.- Parameters:
functionArns- The Amazon Resource Name (ARN) of the functions for which to return recommendations.You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest (
$LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
GetLambdaFunctionRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return function recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.
Only one account ID can be specified per request.
- Parameters:
accountIds- The ID of the Amazon Web Services account for which to return function recommendations.If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.
Only one account ID can be specified per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
GetLambdaFunctionRecommendationsRequest.Builder accountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return function recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.
Only one account ID can be specified per request.
- Parameters:
accountIds- The ID of the Amazon Web Services account for which to return function recommendations.If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.
Only one account ID can be specified per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetLambdaFunctionRecommendationsRequest.Builder filters(Collection<LambdaFunctionRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of function recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetLambdaFunctionRecommendationsRequest.Builder filters(LambdaFunctionRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of function recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetLambdaFunctionRecommendationsRequest.Builder filters(Consumer<LambdaFunctionRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
This is a convenience method that creates an instance of theLambdaFunctionRecommendationFilter.Builderavoiding the need to create one manually viaLambdaFunctionRecommendationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onLambdaFunctionRecommendationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
nextToken
GetLambdaFunctionRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of function recommendations.
- Parameters:
nextToken- The token to advance to the next page of function recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetLambdaFunctionRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of function recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of function recommendations to return with a single request.To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetLambdaFunctionRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetLambdaFunctionRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-