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