Interface ListFaqsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFaqsResponse.Builder,,ListFaqsResponse> KendraResponse.Builder,SdkBuilder<ListFaqsResponse.Builder,,ListFaqsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFaqsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaFaqSummary.builder().When the
Consumercompletes,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:
-