Interface SearchProductsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchProductsResponse.Builder,
,SearchProductsResponse> SdkBuilder<SearchProductsResponse.Builder,
,SearchProductsResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogResponse.Builder
- Enclosing class:
SearchProductsResponse
public static interface SearchProductsResponse.Builder
extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<SearchProductsResponse.Builder,SearchProductsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextPageToken
(String nextPageToken) The page token to use to retrieve the next set of results.productViewAggregations
(Map<String, ? extends Collection<ProductViewAggregationValue>> productViewAggregations) The product view aggregations.productViewSummaries
(Collection<ProductViewSummary> productViewSummaries) Information about the product views.productViewSummaries
(Consumer<ProductViewSummary.Builder>... productViewSummaries) Information about the product views.productViewSummaries
(ProductViewSummary... productViewSummaries) Information about the product views.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.servicecatalog.model.ServiceCatalogResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
productViewSummaries
SearchProductsResponse.Builder productViewSummaries(Collection<ProductViewSummary> productViewSummaries) Information about the product views.
- Parameters:
productViewSummaries
- Information about the product views.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productViewSummaries
Information about the product views.
- Parameters:
productViewSummaries
- Information about the product views.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productViewSummaries
SearchProductsResponse.Builder productViewSummaries(Consumer<ProductViewSummary.Builder>... productViewSummaries) Information about the product views.
This is a convenience method that creates an instance of theProductViewSummary.Builder
avoiding the need to create one manually viaProductViewSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproductViewSummaries(List<ProductViewSummary>)
.- Parameters:
productViewSummaries
- a consumer that will call methods onProductViewSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productViewAggregations
SearchProductsResponse.Builder productViewAggregations(Map<String, ? extends Collection<ProductViewAggregationValue>> productViewAggregations) The product view aggregations.
- Parameters:
productViewAggregations
- The product view aggregations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextPageToken
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
- Parameters:
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-