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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IndexStatistics.BuilderfaqStatistics(Consumer<FaqStatistics.Builder> faqStatistics)The number of question and answer topics in the index.IndexStatistics.BuilderfaqStatistics(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.IndexStatistics.BuildertextDocumentStatistics(TextDocumentStatistics textDocumentStatistics)The number of text documents indexed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
faqStatistics
IndexStatistics.Builder faqStatistics(FaqStatistics 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
default IndexStatistics.Builder faqStatistics(Consumer<FaqStatistics.Builder> 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:
faqStatistics(FaqStatistics)
-
textDocumentStatistics
IndexStatistics.Builder textDocumentStatistics(TextDocumentStatistics 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:
textDocumentStatistics(TextDocumentStatistics)
-
-