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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecommendationsResponse.BuildernextToken(String nextToken)The token for the next set of results.ListRecommendationsResponse.BuilderrecommendationSummaries(Collection<RecommendationSummary> recommendationSummaries)The list of RecommendationsListRecommendationsResponse.BuilderrecommendationSummaries(Consumer<RecommendationSummary.Builder>... recommendationSummaries)The list of RecommendationsListRecommendationsResponse.BuilderrecommendationSummaries(RecommendationSummary... recommendationSummaries)The list of Recommendations-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.trustedadvisor.model.TrustedAdvisorResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextToken
ListRecommendationsResponse.Builder nextToken(String 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 to#recommendationSummaries(List.) - 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:
#recommendationSummaries(java.util.Collection)
-
-