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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFaqsResponse.BuilderfaqSummaryItems(Collection<FaqSummary> faqSummaryItems)information about the FAQs associated with the specified index.ListFaqsResponse.BuilderfaqSummaryItems(Consumer<FaqSummary.Builder>... faqSummaryItems)information about the FAQs associated with the specified index.ListFaqsResponse.BuilderfaqSummaryItems(FaqSummary... faqSummaryItems)information about the FAQs associated with the specified index.ListFaqsResponse.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 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListFaqsResponse.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 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
ListFaqsResponse.Builder faqSummaryItems(Collection<FaqSummary> 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
ListFaqsResponse.Builder faqSummaryItems(FaqSummary... 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
ListFaqsResponse.Builder faqSummaryItems(Consumer<FaqSummary.Builder>... 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 to#faqSummaryItems(List.) - 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:
#faqSummaryItems(java.util.Collection)
-
-