Interface UpdateFeaturedResultsSetResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<UpdateFeaturedResultsSetResponse.Builder,UpdateFeaturedResultsSetResponse>, KendraResponse.Builder, SdkBuilder<UpdateFeaturedResultsSetResponse.Builder,UpdateFeaturedResultsSetResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
UpdateFeaturedResultsSetResponse

public static interface UpdateFeaturedResultsSetResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<UpdateFeaturedResultsSetResponse.Builder,UpdateFeaturedResultsSetResponse>
  • Method Details

    • featuredResultsSet

      UpdateFeaturedResultsSetResponse.Builder featuredResultsSet(FeaturedResultsSet featuredResultsSet)

      Information on the set of featured results. This includes the identifier of the featured results set, whether the featured results set is active or inactive, when the featured results set was last updated, and more.

      Parameters:
      featuredResultsSet - Information on the set of featured results. This includes the identifier of the featured results set, whether the featured results set is active or inactive, when the featured results set was last updated, and more.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • featuredResultsSet

      default UpdateFeaturedResultsSetResponse.Builder featuredResultsSet(Consumer<FeaturedResultsSet.Builder> featuredResultsSet)

      Information on the set of featured results. This includes the identifier of the featured results set, whether the featured results set is active or inactive, when the featured results set was last updated, and more.

      This is a convenience method that creates an instance of the FeaturedResultsSet.Builder avoiding the need to create one manually via FeaturedResultsSet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to featuredResultsSet(FeaturedResultsSet).

      Parameters:
      featuredResultsSet - a consumer that will call methods on FeaturedResultsSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: