Interface UpdateFeaturedResultsSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFeaturedResultsSetRequest.Builder,,UpdateFeaturedResultsSetRequest> KendraRequest.Builder,SdkBuilder<UpdateFeaturedResultsSetRequest.Builder,,UpdateFeaturedResultsSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFeaturedResultsSetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A new description for the set of featured results.featuredDocuments(Collection<FeaturedDocument> featuredDocuments) A list of document IDs for the documents you want to feature at the top of the search results page.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.featuredDocuments(FeaturedDocument... featuredDocuments) A list of document IDs for the documents you want to feature at the top of the search results page.featuredResultsSetId(String featuredResultsSetId) The identifier of the set of featured results that you want to update.featuredResultsSetName(String featuredResultsSetName) A new name for the set of featured results.The identifier of the index used for featuring results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryTexts(String... queryTexts) A list of queries for featuring results.queryTexts(Collection<String> queryTexts) A list of queries for featuring results.You can set the status toACTIVEorINACTIVE.status(FeaturedResultsSetStatus status) You can set the status toACTIVEorINACTIVE.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
indexId
The identifier of the index used for featuring results.
- Parameters:
indexId- The identifier of the index used for featuring results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredResultsSetId
The identifier of the set of featured results that you want to update.
- Parameters:
featuredResultsSetId- The identifier of the set of featured results that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredResultsSetName
A new name for the set of featured results.
- Parameters:
featuredResultsSetName- A new name for the set of featured results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the set of featured results.
- Parameters:
description- A new description for the set of featured results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
You can set the status to
ACTIVEorINACTIVE. When the value isACTIVE, featured results are ready for use. You can still configure your settings before setting the status toACTIVE. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- Parameters:
status- You can set the status toACTIVEorINACTIVE. When the value isACTIVE, featured results are ready for use. You can still configure your settings before setting the status toACTIVE. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
You can set the status to
ACTIVEorINACTIVE. When the value isACTIVE, featured results are ready for use. You can still configure your settings before setting the status toACTIVE. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- Parameters:
status- You can set the status toACTIVEorINACTIVE. When the value isACTIVE, featured results are ready for use. You can still configure your settings before setting the status toACTIVE. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryTexts
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
- Parameters:
queryTexts- A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryTexts
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
- Parameters:
queryTexts- A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocuments
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocuments
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.Builderavoiding the need to create one manually viaFeaturedDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeaturedDocuments(List<FeaturedDocument>).- Parameters:
featuredDocuments- a consumer that will call methods onFeaturedDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFeaturedResultsSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFeaturedResultsSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-