public static interface UpdateFeaturedResultsSetRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateFeaturedResultsSetRequest.Builder,UpdateFeaturedResultsSetRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateFeaturedResultsSetRequest.Builder |
description(String description)
A new description for the set of featured results.
|
UpdateFeaturedResultsSetRequest.Builder |
featuredDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
UpdateFeaturedResultsSetRequest.Builder |
featuredDocuments(Consumer<FeaturedDocument.Builder>... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
UpdateFeaturedResultsSetRequest.Builder |
featuredDocuments(FeaturedDocument... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
UpdateFeaturedResultsSetRequest.Builder |
featuredResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results that you want to update.
|
UpdateFeaturedResultsSetRequest.Builder |
featuredResultsSetName(String featuredResultsSetName)
A new name for the set of featured results.
|
UpdateFeaturedResultsSetRequest.Builder |
indexId(String indexId)
The identifier of the index used for featuring results.
|
UpdateFeaturedResultsSetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateFeaturedResultsSetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateFeaturedResultsSetRequest.Builder |
queryTexts(Collection<String> queryTexts)
A list of queries for featuring results.
|
UpdateFeaturedResultsSetRequest.Builder |
queryTexts(String... queryTexts)
A list of queries for featuring results.
|
UpdateFeaturedResultsSetRequest.Builder |
status(FeaturedResultsSetStatus status)
You can set the status to
ACTIVE or INACTIVE. |
UpdateFeaturedResultsSetRequest.Builder |
status(String status)
You can set the status to
ACTIVE or INACTIVE. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateFeaturedResultsSetRequest.Builder indexId(String indexId)
The identifier of the index used for featuring results.
indexId - The identifier of the index used for featuring results.UpdateFeaturedResultsSetRequest.Builder featuredResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results that you want to update.
featuredResultsSetId - The identifier of the set of featured results that you want to update.UpdateFeaturedResultsSetRequest.Builder featuredResultsSetName(String featuredResultsSetName)
A new name for the set of featured results.
featuredResultsSetName - A new name for the set of featured results.UpdateFeaturedResultsSetRequest.Builder description(String description)
A new description for the set of featured results.
description - A new description for the set of featured results.UpdateFeaturedResultsSetRequest.Builder status(String status)
You can set the status to ACTIVE or INACTIVE. When the value is ACTIVE
, featured results are ready for use. You can still configure your settings before setting the status to
ACTIVE. The queries you specify for featured results must be unique per featured results set for
each index, whether the status is ACTIVE or INACTIVE.
status - You can set the status to ACTIVE or INACTIVE. When the value is
ACTIVE, featured results are ready for use. You can still configure your settings before
setting the status to ACTIVE. The queries you specify for featured results must be unique
per featured results set for each index, whether the status is ACTIVE or
INACTIVE.FeaturedResultsSetStatus,
FeaturedResultsSetStatusUpdateFeaturedResultsSetRequest.Builder status(FeaturedResultsSetStatus status)
You can set the status to ACTIVE or INACTIVE. When the value is ACTIVE
, featured results are ready for use. You can still configure your settings before setting the status to
ACTIVE. The queries you specify for featured results must be unique per featured results set for
each index, whether the status is ACTIVE or INACTIVE.
status - You can set the status to ACTIVE or INACTIVE. When the value is
ACTIVE, featured results are ready for use. You can still configure your settings before
setting the status to ACTIVE. The queries you specify for featured results must be unique
per featured results set for each index, whether the status is ACTIVE or
INACTIVE.FeaturedResultsSetStatus,
FeaturedResultsSetStatusUpdateFeaturedResultsSetRequest.Builder queryTexts(Collection<String> queryTexts)
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
queryTexts - A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.UpdateFeaturedResultsSetRequest.Builder queryTexts(String... queryTexts)
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
queryTexts - A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.UpdateFeaturedResultsSetRequest.Builder featuredDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
featuredDocuments - A list of document IDs for the documents you want to feature at the top of the search results page.
For more information on the list of featured documents, see FeaturedResultsSet.UpdateFeaturedResultsSetRequest.Builder featuredDocuments(FeaturedDocument... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
featuredDocuments - A list of document IDs for the documents you want to feature at the top of the search results page.
For more information on the list of featured documents, see FeaturedResultsSet.UpdateFeaturedResultsSetRequest.Builder featuredDocuments(Consumer<FeaturedDocument.Builder>... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
This is a convenience method that creates an instance of theFeaturedDocument.Builder avoiding the need to create one
manually via FeaturedDocument.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #featuredDocuments(List.
featuredDocuments - a consumer that will call methods on
FeaturedDocument.Builder#featuredDocuments(java.util.Collection) UpdateFeaturedResultsSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateFeaturedResultsSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.