Interface ListThesauriResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListThesauriResponse.Builder,,- ListThesauriResponse> - KendraResponse.Builder,- SdkBuilder<ListThesauriResponse.Builder,,- ListThesauriResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListThesauriResponse
@Mutable
@NotThreadSafe
public static interface ListThesauriResponse.Builder
extends KendraResponse.Builder, SdkPojo, CopyableBuilder<ListThesauriResponse.Builder,ListThesauriResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenIf 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.
 
- 
thesaurusSummaryItemsListThesauriResponse.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.
 
- 
thesaurusSummaryItemsAn 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.
 
- 
thesaurusSummaryItemsListThesauriResponse.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.Builderavoiding the need to create one manually viaThesaurusSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothesaurusSummaryItems(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:
 
 
-