@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLambdaFunctionRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| GetLambdaFunctionRecommendationsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetLambdaFunctionRecommendationsRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<String> | getAccountIds()
 The ID of the Amazon Web Services account for which to return function recommendations. | 
| List<LambdaFunctionRecommendationFilter> | getFilters()
 An array of objects to specify a filter that returns a more specific list of function recommendations. | 
| List<String> | getFunctionArns()
 The Amazon Resource Name (ARN) of the functions for which to return recommendations. | 
| Integer | getMaxResults()
 The maximum number of function recommendations to return with a single request. | 
| String | getNextToken()
 The token to advance to the next page of function recommendations. | 
| int | hashCode() | 
| void | setAccountIds(Collection<String> accountIds)
 The ID of the Amazon Web Services account for which to return function recommendations. | 
| void | setFilters(Collection<LambdaFunctionRecommendationFilter> filters)
 An array of objects to specify a filter that returns a more specific list of function recommendations. | 
| void | setFunctionArns(Collection<String> functionArns)
 The Amazon Resource Name (ARN) of the functions for which to return recommendations. | 
| void | setMaxResults(Integer maxResults)
 The maximum number of function recommendations to return with a single request. | 
| void | setNextToken(String nextToken)
 The token to advance to the next page of function recommendations. | 
| String | toString()Returns a string representation of this object. | 
| GetLambdaFunctionRecommendationsRequest | withAccountIds(Collection<String> accountIds)
 The ID of the Amazon Web Services account for which to return function recommendations. | 
| GetLambdaFunctionRecommendationsRequest | withAccountIds(String... accountIds)
 The ID of the Amazon Web Services account for which to return function recommendations. | 
| GetLambdaFunctionRecommendationsRequest | withFilters(Collection<LambdaFunctionRecommendationFilter> filters)
 An array of objects to specify a filter that returns a more specific list of function recommendations. | 
| GetLambdaFunctionRecommendationsRequest | withFilters(LambdaFunctionRecommendationFilter... filters)
 An array of objects to specify a filter that returns a more specific list of function recommendations. | 
| GetLambdaFunctionRecommendationsRequest | withFunctionArns(Collection<String> functionArns)
 The Amazon Resource Name (ARN) of the functions for which to return recommendations. | 
| GetLambdaFunctionRecommendationsRequest | withFunctionArns(String... functionArns)
 The Amazon Resource Name (ARN) of the functions for which to return recommendations. | 
| GetLambdaFunctionRecommendationsRequest | withMaxResults(Integer maxResults)
 The maximum number of function recommendations to return with a single request. | 
| GetLambdaFunctionRecommendationsRequest | withNextToken(String nextToken)
 The token to advance to the next page of function recommendations. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic GetLambdaFunctionRecommendationsRequest()
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.
 
         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.
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.
 
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.
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.
 
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.
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.
 
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.
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.
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.
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.
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.
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.
 
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.
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.
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.
public List<LambdaFunctionRecommendationFilter> getFilters()
An array of objects to specify a filter that returns a more specific list of function recommendations.
public void setFilters(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.public GetLambdaFunctionRecommendationsRequest withFilters(LambdaFunctionRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of function recommendations.
 NOTE: This method appends the values to the existing list (if any). Use
 setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
 the existing values.
 
filters - An array of objects to specify a filter that returns a more specific list of function recommendations.public GetLambdaFunctionRecommendationsRequest withFilters(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.public void setNextToken(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.public String getNextToken()
The token to advance to the next page of function recommendations.
public GetLambdaFunctionRecommendationsRequest withNextToken(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.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.
 
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.
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.
 
         To retrieve the remaining results, make another request with the returned nextToken value.
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.
 
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.
public String toString()
toString in class ObjectObject.toString()public GetLambdaFunctionRecommendationsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()