Interface ListFaqsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListFaqsResponse.Builder,
,ListFaqsResponse> KendraResponse.Builder
,SdkBuilder<ListFaqsResponse.Builder,
,ListFaqsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFaqsResponse
@Mutable
@NotThreadSafe
public static interface ListFaqsResponse.Builder
extends KendraResponse.Builder, SdkPojo, CopyableBuilder<ListFaqsResponse.Builder,ListFaqsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfaqSummaryItems
(Collection<FaqSummary> faqSummaryItems) Summary information about the FAQs for a specified index.faqSummaryItems
(Consumer<FaqSummary.Builder>... faqSummaryItems) Summary information about the FAQs for a specified index.faqSummaryItems
(FaqSummary... faqSummaryItems) Summary information about the FAQs for a specified index.If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs.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, sdkFieldNameToField, 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 FAQs.
- 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 FAQs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faqSummaryItems
Summary information about the FAQs for a specified index.
- Parameters:
faqSummaryItems
- Summary information about the FAQs for a specified index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faqSummaryItems
Summary information about the FAQs for a specified index.
- Parameters:
faqSummaryItems
- Summary information about the FAQs for a specified index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faqSummaryItems
Summary information about the FAQs for a specified index.
This is a convenience method that creates an instance of theFaqSummary.Builder
avoiding the need to create one manually viaFaqSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofaqSummaryItems(List<FaqSummary>)
.- Parameters:
faqSummaryItems
- a consumer that will call methods onFaqSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-