Class CfnIndex.AnalyzerItemsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnIndex.AnalyzerItemsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndex.AnalyzerItemsProperty>
- Enclosing interface:
CfnIndex.AnalyzerItemsProperty
@Stability(Stable)
public static final class CfnIndex.AnalyzerItemsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.AnalyzerItemsProperty>
A builder for
CfnIndex.AnalyzerItemsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.charFilter(List<String> charFilter) Sets the value ofCfnIndex.AnalyzerItemsProperty.getCharFilter()Sets the value ofCfnIndex.AnalyzerItemsProperty.getFilter()Sets the value ofCfnIndex.AnalyzerItemsProperty.getTokenizer()Sets the value ofCfnIndex.AnalyzerItemsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
charFilter
@Stability(Stable) public CfnIndex.AnalyzerItemsProperty.Builder charFilter(List<String> charFilter) Sets the value ofCfnIndex.AnalyzerItemsProperty.getCharFilter()- Parameters:
charFilter- Character filters to apply.- Returns:
this
-
filter
Sets the value ofCfnIndex.AnalyzerItemsProperty.getFilter()- Parameters:
filter- Token filters to apply.- Returns:
this
-
tokenizer
Sets the value ofCfnIndex.AnalyzerItemsProperty.getTokenizer()- Parameters:
tokenizer- The tokenizer to use.- Returns:
this
-
type
Sets the value ofCfnIndex.AnalyzerItemsProperty.getType()- Parameters:
type- The analyzer type (e.g. custom, standard, simple).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndex.AnalyzerItemsProperty>- Returns:
- a new instance of
CfnIndex.AnalyzerItemsProperty - Throws:
NullPointerException- if any required attribute was not provided
-