public static interface CreateFeaturedResultsSetRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateFeaturedResultsSetRequest.Builder,CreateFeaturedResultsSetRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFeaturedResultsSetRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create a set of featured results.
|
CreateFeaturedResultsSetRequest.Builder |
description(String description)
A description for the set of featured results.
|
CreateFeaturedResultsSetRequest.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.
|
CreateFeaturedResultsSetRequest.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.
|
CreateFeaturedResultsSetRequest.Builder |
featuredDocuments(FeaturedDocument... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
CreateFeaturedResultsSetRequest.Builder |
featuredResultsSetName(String featuredResultsSetName)
A name for the set of featured results.
|
CreateFeaturedResultsSetRequest.Builder |
indexId(String indexId)
The identifier of the index that you want to use for featuring results.
|
CreateFeaturedResultsSetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFeaturedResultsSetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFeaturedResultsSetRequest.Builder |
queryTexts(Collection<String> queryTexts)
A list of queries for featuring results.
|
CreateFeaturedResultsSetRequest.Builder |
queryTexts(String... queryTexts)
A list of queries for featuring results.
|
CreateFeaturedResultsSetRequest.Builder |
status(FeaturedResultsSetStatus status)
The current status of the set of featured results.
|
CreateFeaturedResultsSetRequest.Builder |
status(String status)
The current status of the set of featured results.
|
CreateFeaturedResultsSetRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the featured results set.
|
CreateFeaturedResultsSetRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the featured results set.
|
CreateFeaturedResultsSetRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify or categorize the featured results set.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFeaturedResultsSetRequest.Builder indexId(String indexId)
The identifier of the index that you want to use for featuring results.
indexId - The identifier of the index that you want to use for featuring results.CreateFeaturedResultsSetRequest.Builder featuredResultsSetName(String featuredResultsSetName)
A name for the set of featured results.
featuredResultsSetName - A name for the set of featured results.CreateFeaturedResultsSetRequest.Builder description(String description)
A description for the set of featured results.
description - A description for the set of featured results.CreateFeaturedResultsSetRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create a set of featured results. Multiple calls to the
CreateFeaturedResultsSet API with the same client token will create only one featured results
set.
clientToken - A token that you provide to identify the request to create a set of featured results. Multiple calls
to the CreateFeaturedResultsSet API with the same client token will create only one
featured results set.CreateFeaturedResultsSetRequest.Builder status(String status)
The current status of the set of featured results. When the value is ACTIVE, featured results
are ready for use. You can still configure your settings before setting the status to ACTIVE.
You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. 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 - The current status of the set of featured results. When the value is ACTIVE, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE. You can set the status to ACTIVE or INACTIVE using the
UpdateFeaturedResultsSet API. 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,
FeaturedResultsSetStatusCreateFeaturedResultsSetRequest.Builder status(FeaturedResultsSetStatus status)
The current status of the set of featured results. When the value is ACTIVE, featured results
are ready for use. You can still configure your settings before setting the status to ACTIVE.
You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. 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 - The current status of the set of featured results. When the value is ACTIVE, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE. You can set the status to ACTIVE or INACTIVE using the
UpdateFeaturedResultsSet API. 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,
FeaturedResultsSetStatusCreateFeaturedResultsSetRequest.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.CreateFeaturedResultsSetRequest.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.CreateFeaturedResultsSetRequest.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 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 documents, see FeaturedResultsSet.CreateFeaturedResultsSetRequest.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 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 documents, see FeaturedResultsSet.CreateFeaturedResultsSetRequest.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 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) CreateFeaturedResultsSetRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the featured results set. You can also use tags
to help control access to the featured results set. Tag keys and values can consist of Unicode
letters, digits, white space, and any of the following symbols:_ . : / = + - @.CreateFeaturedResultsSetRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the featured results set. You can also use tags
to help control access to the featured results set. Tag keys and values can consist of Unicode
letters, digits, white space, and any of the following symbols:_ . : / = + - @.CreateFeaturedResultsSetRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateFeaturedResultsSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFeaturedResultsSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.