public static interface ListThesauriResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<ListThesauriResponse.Builder,ListThesauriResponse>
| Modifier and Type | Method and Description |
|---|---|
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.
|
ListThesauriResponse.Builder |
thesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)
An array of summary information for a thesaurus or multiple thesauri.
|
ListThesauriResponse.Builder |
thesaurusSummaryItems(Consumer<ThesaurusSummary.Builder>... thesaurusSummaryItems)
An array of summary information for a thesaurus or multiple thesauri.
|
ListThesauriResponse.Builder |
thesaurusSummaryItems(ThesaurusSummary... thesaurusSummaryItems)
An array of summary information for a thesaurus or multiple thesauri.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListThesauriResponse.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.
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.ListThesauriResponse.Builder thesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)
An array of summary information for a thesaurus or multiple thesauri.
thesaurusSummaryItems - An array of summary information for a thesaurus or multiple thesauri.ListThesauriResponse.Builder thesaurusSummaryItems(ThesaurusSummary... thesaurusSummaryItems)
An array of summary information for a thesaurus or multiple thesauri.
thesaurusSummaryItems - An array of summary information for a thesaurus or multiple thesauri.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 theThesaurusSummary.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.
thesaurusSummaryItems - a consumer that will call methods on
ThesaurusSummary.Builder#thesaurusSummaryItems(java.util.Collection) Copyright © 2023. All rights reserved.