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