JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.computeoptimizer.model

Class GetLambdaFunctionRecommendationsRequest

    • Constructor Detail

      • GetLambdaFunctionRecommendationsRequest

        public GetLambdaFunctionRecommendationsRequest()
    • Method Detail

      • getFunctionArns

        public List<String> getFunctionArns()

        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:
        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.

      • setFunctionArns

        public void setFunctionArns(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.

      • withFunctionArns

        public GetLambdaFunctionRecommendationsRequest withFunctionArns(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.

        NOTE: This method appends the values to the existing list (if any). Use setFunctionArns(java.util.Collection) or withFunctionArns(java.util.Collection) if you want to override the existing values.

        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.
      • withFunctionArns

        public GetLambdaFunctionRecommendationsRequest withFunctionArns(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.
      • getAccountIds

        public List<String> getAccountIds()

        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:
        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.

      • setAccountIds

        public void setAccountIds(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.

      • withAccountIds

        public GetLambdaFunctionRecommendationsRequest withAccountIds(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.

        NOTE: This method appends the values to the existing list (if any). Use setAccountIds(java.util.Collection) or withAccountIds(java.util.Collection) if you want to override the existing values.

        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.
      • withAccountIds

        public GetLambdaFunctionRecommendationsRequest withAccountIds(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.
      • getFilters

        public List<LambdaFunctionRecommendationFilter> getFilters()

        An array of objects to specify a filter that returns a more specific list of function recommendations.

        Returns:
        An array of objects to specify a filter that returns a more specific list of function recommendations.
      • setFilters

        public void setFilters(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.
      • withFilters

        public GetLambdaFunctionRecommendationsRequest withFilters(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.
      • setNextToken

        public void setNextToken(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.
      • getNextToken

        public String getNextToken()

        The token to advance to the next page of function recommendations.

        Returns:
        The token to advance to the next page of function recommendations.
      • withNextToken

        public GetLambdaFunctionRecommendationsRequest withNextToken(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.
      • setMaxResults

        public void setMaxResults(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.

        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.

      • getMaxResults

        public Integer getMaxResults()

        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:
        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.

      • withMaxResults

        public GetLambdaFunctionRecommendationsRequest withMaxResults(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.

        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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /