Interface UpdateFeaturedResultsSetRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateFeaturedResultsSetRequest.Builder,UpdateFeaturedResultsSetRequest>, KendraRequest.Builder, SdkBuilder<UpdateFeaturedResultsSetRequest.Builder,UpdateFeaturedResultsSetRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateFeaturedResultsSetRequest

public static interface UpdateFeaturedResultsSetRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateFeaturedResultsSetRequest.Builder,UpdateFeaturedResultsSetRequest>
  • 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

      UpdateFeaturedResultsSetRequest.Builder featuredResultsSetId(String 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

      UpdateFeaturedResultsSetRequest.Builder featuredResultsSetName(String 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 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      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

      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(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.

      This is a convenience method that creates an instance of the FeaturedDocument.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<FeaturedDocument>).

      Parameters:
      featuredDocuments - a consumer that will call methods on FeaturedDocument.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.