Class CfnIndexPropsMixin.AnalyzerItemsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnIndexPropsMixin.AnalyzerItemsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin.AnalyzerItemsProperty>
- Enclosing interface:
CfnIndexPropsMixin.AnalyzerItemsProperty
@Stability(Stable)
public static final class CfnIndexPropsMixin.AnalyzerItemsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexPropsMixin.AnalyzerItemsProperty>
A builder for
CfnIndexPropsMixin.AnalyzerItemsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.charFilter(List<String> charFilter) Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getCharFilter()Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getFilter()Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getTokenizer()Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
charFilter
@Stability(Stable) public CfnIndexPropsMixin.AnalyzerItemsProperty.Builder charFilter(List<String> charFilter) Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getCharFilter()- Parameters:
charFilter- Character filters to apply.- Returns:
this
-
filter
@Stability(Stable) public CfnIndexPropsMixin.AnalyzerItemsProperty.Builder filter(List<String> filter) Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getFilter()- Parameters:
filter- Token filters to apply.- Returns:
this
-
tokenizer
@Stability(Stable) public CfnIndexPropsMixin.AnalyzerItemsProperty.Builder tokenizer(String tokenizer) Sets the value ofCfnIndexPropsMixin.AnalyzerItemsProperty.getTokenizer()- Parameters:
tokenizer- The tokenizer to use.- Returns:
this
-
type
Sets the value ofCfnIndexPropsMixin.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<CfnIndexPropsMixin.AnalyzerItemsProperty>- Returns:
- a new instance of
CfnIndexPropsMixin.AnalyzerItemsProperty - Throws:
NullPointerException- if any required attribute was not provided
-