Interface GetLambdaFunctionRecommendationsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ComputeOptimizerRequest.Builder, CopyableBuilder<GetLambdaFunctionRecommendationsRequest.Builder,GetLambdaFunctionRecommendationsRequest>, SdkBuilder<GetLambdaFunctionRecommendationsRequest.Builder,GetLambdaFunctionRecommendationsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetLambdaFunctionRecommendationsRequest

  • Method Details

    • 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

      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

      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

      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

      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

      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

      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 the LambdaFunctionRecommendationFilter.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<LambdaFunctionRecommendationFilter>).

      Parameters:
      filters - a consumer that will call methods on LambdaFunctionRecommendationFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.

      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 nextToken value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.