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) information about the FAQs associated with the specified index.faqSummaryItems(Consumer<FaqSummary.Builder>... faqSummaryItems) information about the FAQs associated with the specified index.faqSummaryItems(FaqSummary... faqSummaryItems) information about the FAQs associated with the 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, 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
information about the FAQs associated with the specified index.
- Parameters:
faqSummaryItems- information about the FAQs associated with the specified index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faqSummaryItems
information about the FAQs associated with the specified index.
- Parameters:
faqSummaryItems- information about the FAQs associated with the specified index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faqSummaryItems
information about the FAQs associated with the 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:
-