Interface ListThesauriResponse.Builder

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

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

    • nextToken

      ListThesauriResponse.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 thesauri.

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

      ListThesauriResponse.Builder thesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)

      An array of summary information for a thesaurus or multiple thesauri.

      Parameters:
      thesaurusSummaryItems - An array of summary information for a thesaurus or multiple thesauri.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • thesaurusSummaryItems

      ListThesauriResponse.Builder thesaurusSummaryItems(ThesaurusSummary... thesaurusSummaryItems)

      An array of summary information for a thesaurus or multiple thesauri.

      Parameters:
      thesaurusSummaryItems - An array of summary information for a thesaurus or multiple thesauri.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • thesaurusSummaryItems

      ListThesauriResponse.Builder thesaurusSummaryItems(Consumer<ThesaurusSummary.Builder>... thesaurusSummaryItems)

      An array of summary information for a thesaurus or multiple thesauri.

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

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

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