Interface GetLambdaFunctionRecommendationsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- ComputeOptimizerResponse.Builder,- CopyableBuilder<GetLambdaFunctionRecommendationsResponse.Builder,,- GetLambdaFunctionRecommendationsResponse> - SdkBuilder<GetLambdaFunctionRecommendationsResponse.Builder,,- GetLambdaFunctionRecommendationsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetLambdaFunctionRecommendationsResponse
@Mutable
@NotThreadSafe
public static interface GetLambdaFunctionRecommendationsResponse.Builder
extends ComputeOptimizerResponse.Builder, SdkPojo, CopyableBuilder<GetLambdaFunctionRecommendationsResponse.Builder,GetLambdaFunctionRecommendationsResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionlambdaFunctionRecommendations(Collection<LambdaFunctionRecommendation> lambdaFunctionRecommendations) An array of objects that describe function recommendations.lambdaFunctionRecommendations(Consumer<LambdaFunctionRecommendation.Builder>... lambdaFunctionRecommendations) An array of objects that describe function recommendations.lambdaFunctionRecommendations(LambdaFunctionRecommendation... lambdaFunctionRecommendations) An array of objects that describe function recommendations.The token to use to advance to the next page of function recommendations.Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenThe token to use to advance to the next page of function recommendations. This value is null when there are no more pages of function recommendations to return. - Parameters:
- nextToken- The token to use to advance to the next page of function recommendations.- This value is null when there are no more pages of function recommendations to return. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lambdaFunctionRecommendationsGetLambdaFunctionRecommendationsResponse.Builder lambdaFunctionRecommendations(Collection<LambdaFunctionRecommendation> lambdaFunctionRecommendations) An array of objects that describe function recommendations. - Parameters:
- lambdaFunctionRecommendations- An array of objects that describe function recommendations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lambdaFunctionRecommendationsGetLambdaFunctionRecommendationsResponse.Builder lambdaFunctionRecommendations(LambdaFunctionRecommendation... lambdaFunctionRecommendations) An array of objects that describe function recommendations. - Parameters:
- lambdaFunctionRecommendations- An array of objects that describe function recommendations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lambdaFunctionRecommendationsGetLambdaFunctionRecommendationsResponse.Builder lambdaFunctionRecommendations(Consumer<LambdaFunctionRecommendation.Builder>... lambdaFunctionRecommendations) An array of objects that describe function recommendations. This is a convenience method that creates an instance of theLambdaFunctionRecommendation.Builderavoiding the need to create one manually viaLambdaFunctionRecommendation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaFunctionRecommendations(List<LambdaFunctionRecommendation>).- Parameters:
- lambdaFunctionRecommendations- a consumer that will call methods on- LambdaFunctionRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-