Interface ListRecommendersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendersResponse.Builder,,ListRecommendersResponse> CustomerProfilesResponse.Builder,SdkBuilder<ListRecommendersResponse.Builder,,ListRecommendersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecommendersResponse
@Mutable
@NotThreadSafe
public static interface ListRecommendersResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendersResponse.Builder,ListRecommendersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to retrieve the next page of results.recommenders(Collection<RecommenderSummary> recommenders) A list of recommenders and their properties in the specified domain.recommenders(Consumer<RecommenderSummary.Builder>... recommenders) A list of recommenders and their properties in the specified domain.recommenders(RecommenderSummary... recommenders) A list of recommenders and their properties in the specified domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A token to retrieve the next page of results. Null if there are no more results to retrieve.
- Parameters:
nextToken- A token to retrieve the next page of results. Null if there are no more results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenders
A list of recommenders and their properties in the specified domain.
- Parameters:
recommenders- A list of recommenders and their properties in the specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenders
A list of recommenders and their properties in the specified domain.
- Parameters:
recommenders- A list of recommenders and their properties in the specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommenders
A list of recommenders and their properties in the specified domain.
This is a convenience method that creates an instance of theRecommenderSummary.Builderavoiding the need to create one manually viaRecommenderSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommenders(List<RecommenderSummary>).- Parameters:
recommenders- a consumer that will call methods onRecommenderSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-