Interface ListOrganizationRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOrganizationRecommendationsResponse.Builder,
,ListOrganizationRecommendationsResponse> SdkBuilder<ListOrganizationRecommendationsResponse.Builder,
,ListOrganizationRecommendationsResponse> SdkPojo
,SdkResponse.Builder
,TrustedAdvisorResponse.Builder
- Enclosing class:
ListOrganizationRecommendationsResponse
public static interface ListOrganizationRecommendationsResponse.Builder
extends TrustedAdvisorResponse.Builder, SdkPojo, CopyableBuilder<ListOrganizationRecommendationsResponse.Builder,ListOrganizationRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.organizationRecommendationSummaries
(Collection<OrganizationRecommendationSummary> organizationRecommendationSummaries) The list of RecommendationsorganizationRecommendationSummaries
(Consumer<OrganizationRecommendationSummary.Builder>... organizationRecommendationSummaries) The list of RecommendationsorganizationRecommendationSummaries
(OrganizationRecommendationSummary... organizationRecommendationSummaries) The list of RecommendationsMethods 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 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.
-
organizationRecommendationSummaries
ListOrganizationRecommendationsResponse.Builder organizationRecommendationSummaries(Collection<OrganizationRecommendationSummary> organizationRecommendationSummaries) The list of Recommendations
- Parameters:
organizationRecommendationSummaries
- The list of Recommendations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationRecommendationSummaries
ListOrganizationRecommendationsResponse.Builder organizationRecommendationSummaries(OrganizationRecommendationSummary... organizationRecommendationSummaries) The list of Recommendations
- Parameters:
organizationRecommendationSummaries
- The list of Recommendations- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationRecommendationSummaries
ListOrganizationRecommendationsResponse.Builder organizationRecommendationSummaries(Consumer<OrganizationRecommendationSummary.Builder>... organizationRecommendationSummaries) The list of Recommendations
This is a convenience method that creates an instance of theOrganizationRecommendationSummary.Builder
avoiding the need to create one manually viaOrganizationRecommendationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationRecommendationSummaries(List<OrganizationRecommendationSummary>)
.- Parameters:
organizationRecommendationSummaries
- a consumer that will call methods onOrganizationRecommendationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-