Interface ListExperiencesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListExperiencesResponse.Builder,
,ListExperiencesResponse> KendraResponse.Builder
,SdkBuilder<ListExperiencesResponse.Builder,
,ListExperiencesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListExperiencesResponse
public static interface ListExperiencesResponse.Builder
extends KendraResponse.Builder, SdkPojo, CopyableBuilder<ListExperiencesResponse.Builder,ListExperiencesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of Amazon Kendra experiences.summaryItems
(Collection<ExperiencesSummary> summaryItems) An array of summary information for one or more Amazon Kendra experiences.summaryItems
(Consumer<ExperiencesSummary.Builder>... summaryItems) An array of summary information for one or more Amazon Kendra experiences.summaryItems
(ExperiencesSummary... summaryItems) An array of summary information for one or more Amazon Kendra experiences.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
-
summaryItems
An array of summary information for one or more Amazon Kendra experiences.
- Parameters:
summaryItems
- An array of summary information for one or more Amazon Kendra experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
An array of summary information for one or more Amazon Kendra experiences.
- Parameters:
summaryItems
- An array of summary information for one or more Amazon Kendra experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
An array of summary information for one or more Amazon Kendra experiences.
This is a convenience method that creates an instance of theExperiencesSummary.Builder
avoiding the need to create one manually viaExperiencesSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaryItems(List<ExperiencesSummary>)
.- Parameters:
summaryItems
- a consumer that will call methods onExperiencesSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of Amazon Kendra experiences.
- Parameters:
nextToken
- If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of Amazon Kendra experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-