Class CfnIndex.IndexStatisticsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndex.IndexStatisticsProperty>
- Enclosing interface:
CfnIndex.IndexStatisticsProperty
@Stability(Stable)
public static final class CfnIndex.IndexStatisticsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.IndexStatisticsProperty>
A builder for
CfnIndex.IndexStatisticsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.textDocumentStatistics
(IResolvable textDocumentStatistics) Sets the value ofCfnIndex.IndexStatisticsProperty.getTextDocumentStatistics()
textDocumentStatistics
(CfnIndex.TextDocumentStatisticsProperty textDocumentStatistics) Sets the value ofCfnIndex.IndexStatisticsProperty.getTextDocumentStatistics()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
textDocumentStatistics
@Stability(Stable) public CfnIndex.IndexStatisticsProperty.Builder textDocumentStatistics(IResolvable textDocumentStatistics) Sets the value ofCfnIndex.IndexStatisticsProperty.getTextDocumentStatistics()
- Parameters:
textDocumentStatistics
- The number of documents indexed.- Returns:
this
-
textDocumentStatistics
@Stability(Stable) public CfnIndex.IndexStatisticsProperty.Builder textDocumentStatistics(CfnIndex.TextDocumentStatisticsProperty textDocumentStatistics) Sets the value ofCfnIndex.IndexStatisticsProperty.getTextDocumentStatistics()
- Parameters:
textDocumentStatistics
- The number of documents indexed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIndex.IndexStatisticsProperty>
- Returns:
- a new instance of
CfnIndex.IndexStatisticsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-