Interface ListFaqsResponse.Builder

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

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

    • nextToken

      ListFaqsResponse.Builder nextToken(String nextToken)

      If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs.

      Parameters:
      nextToken - If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faqSummaryItems

      ListFaqsResponse.Builder faqSummaryItems(Collection<FaqSummary> faqSummaryItems)

      information about the FAQs associated with the specified index.

      Parameters:
      faqSummaryItems - information about the FAQs associated with the specified index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faqSummaryItems

      ListFaqsResponse.Builder faqSummaryItems(FaqSummary... faqSummaryItems)

      information about the FAQs associated with the specified index.

      Parameters:
      faqSummaryItems - information about the FAQs associated with the specified index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faqSummaryItems

      ListFaqsResponse.Builder faqSummaryItems(Consumer<FaqSummary.Builder>... faqSummaryItems)

      information about the FAQs associated with the specified index.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to faqSummaryItems(List<FaqSummary>).

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