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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListThesauriResponse.BuildernextToken(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.BuilderthesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)An array of summary information for a thesaurus or multiple thesauri.ListThesauriResponse.BuilderthesaurusSummaryItems(Consumer<ThesaurusSummary.Builder>... thesaurusSummaryItems)An array of summary information for a thesaurus or multiple thesauri.ListThesauriResponse.BuilderthesaurusSummaryItems(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 Detail
-
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 theThesaurusSummary.Builderavoiding the need to create one manually viaThesaurusSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#thesaurusSummaryItems(List.) - 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:
#thesaurusSummaryItems(java.util.Collection)
-
-