Interface IndexStatistics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IndexStatistics.Builder,,IndexStatistics> SdkBuilder<IndexStatistics.Builder,,IndexStatistics> SdkPojo
- Enclosing class:
IndexStatistics
public static interface IndexStatistics.Builder
extends SdkPojo, CopyableBuilder<IndexStatistics.Builder,IndexStatistics>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IndexStatistics.BuilderfaqStatistics(Consumer<FaqStatistics.Builder> faqStatistics) The number of question and answer topics in the index.faqStatistics(FaqStatistics faqStatistics) The number of question and answer topics in the index.default IndexStatistics.BuildertextDocumentStatistics(Consumer<TextDocumentStatistics.Builder> textDocumentStatistics) The number of text documents indexed.textDocumentStatistics(TextDocumentStatistics textDocumentStatistics) The number of text documents indexed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
faqStatistics
The number of question and answer topics in the index.
- Parameters:
faqStatistics- The number of question and answer topics in the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faqStatistics
The number of question and answer topics in the index.
This is a convenience method that creates an instance of theFaqStatistics.Builderavoiding the need to create one manually viaFaqStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofaqStatistics(FaqStatistics).- Parameters:
faqStatistics- a consumer that will call methods onFaqStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textDocumentStatistics
The number of text documents indexed.
- Parameters:
textDocumentStatistics- The number of text documents indexed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textDocumentStatistics
default IndexStatistics.Builder textDocumentStatistics(Consumer<TextDocumentStatistics.Builder> textDocumentStatistics) The number of text documents indexed.
This is a convenience method that creates an instance of theTextDocumentStatistics.Builderavoiding the need to create one manually viaTextDocumentStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totextDocumentStatistics(TextDocumentStatistics).- Parameters:
textDocumentStatistics- a consumer that will call methods onTextDocumentStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-