Interface ListRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationsResponse.Builder,,ListRecommendationsResponse> SdkBuilder<ListRecommendationsResponse.Builder,,ListRecommendationsResponse> SdkPojo,SdkResponse.Builder,TrustedAdvisorResponse.Builder
- Enclosing class:
ListRecommendationsResponse
public static interface ListRecommendationsResponse.Builder
extends TrustedAdvisorResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.recommendationSummaries(Collection<RecommendationSummary> recommendationSummaries) The list of RecommendationsrecommendationSummaries(Consumer<RecommendationSummary.Builder>... recommendationSummaries) The list of RecommendationsrecommendationSummaries(RecommendationSummary... recommendationSummaries) The list of RecommendationsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.trustedadvisor.model.TrustedAdvisorResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSummaries
ListRecommendationsResponse.Builder recommendationSummaries(Collection<RecommendationSummary> recommendationSummaries) The list of Recommendations
- Parameters:
recommendationSummaries- The list of Recommendations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSummaries
ListRecommendationsResponse.Builder recommendationSummaries(RecommendationSummary... recommendationSummaries) The list of Recommendations
- Parameters:
recommendationSummaries- The list of Recommendations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSummaries
ListRecommendationsResponse.Builder recommendationSummaries(Consumer<RecommendationSummary.Builder>... recommendationSummaries) The list of Recommendations
This is a convenience method that creates an instance of theRecommendationSummary.Builderavoiding the need to create one manually viaRecommendationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationSummaries(List<RecommendationSummary>).- Parameters:
recommendationSummaries- a consumer that will call methods onRecommendationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-