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 Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.thesaurusSummaryItems
(Collection<ThesaurusSummary> thesaurusSummaryItems) An array of summary information for a thesaurus or multiple thesauri.thesaurusSummaryItems
(Consumer<ThesaurusSummary.Builder>... thesaurusSummaryItems) An array of summary information for a thesaurus or multiple thesauri.thesaurusSummaryItems
(ThesaurusSummary... thesaurusSummaryItems) An array of summary information for a thesaurus or multiple thesauri.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 theThesaurusSummary.Builder
avoiding the need to create one manually viaThesaurusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothesaurusSummaryItems(List<ThesaurusSummary>)
.- Parameters:
thesaurusSummaryItems
- a consumer that will call methods onThesaurusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-