public static interface GetLambdaFunctionRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetLambdaFunctionRecommendationsRequest.Builder,GetLambdaFunctionRecommendationsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetLambdaFunctionRecommendationsRequest.Builder |
accountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return function recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
accountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return function recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
filters(Collection<LambdaFunctionRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
filters(Consumer<LambdaFunctionRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
filters(LambdaFunctionRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
functionArns(Collection<String> functionArns)
The Amazon Resource Name (ARN) of the functions for which to return recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
functionArns(String... functionArns)
The Amazon Resource Name (ARN) of the functions for which to return recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of function recommendations to return with a single request.
|
GetLambdaFunctionRecommendationsRequest.Builder |
nextToken(String nextToken)
The token to advance to the next page of function recommendations.
|
GetLambdaFunctionRecommendationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetLambdaFunctionRecommendationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetLambdaFunctionRecommendationsRequest.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.
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.
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.
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.
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.
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.
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.
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.
GetLambdaFunctionRecommendationsRequest.Builder filters(Collection<LambdaFunctionRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
filters - An array of objects to specify a filter that returns a more specific list of function recommendations.GetLambdaFunctionRecommendationsRequest.Builder filters(LambdaFunctionRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
filters - An array of objects to specify a filter that returns a more specific list of function recommendations.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.Builder
avoiding the need to create one manually via
LambdaFunctionRecommendationFilter.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #filters(List.
filters - a consumer that will call methods on
LambdaFunctionRecommendationFilter.Builder#filters(java.util.Collection) GetLambdaFunctionRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of function recommendations.
nextToken - The token to advance to the next page of function recommendations.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 nextToken value.
maxResults - The maximum number of function recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
GetLambdaFunctionRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetLambdaFunctionRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.