Class StemmerOverrideTokenFilter.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<StemmerOverrideTokenFilter.Builder>
-
- org.opensearch.client.opensearch._types.analysis.StemmerOverrideTokenFilter.Builder
-
- All Implemented Interfaces:
ObjectBuilder<StemmerOverrideTokenFilter>
- Enclosing class:
- StemmerOverrideTokenFilter
public static class StemmerOverrideTokenFilter.Builder extends TokenFilterBase.AbstractBuilder<StemmerOverrideTokenFilter.Builder> implements ObjectBuilder<StemmerOverrideTokenFilter>
Builder forStemmerOverrideTokenFilter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StemmerOverrideTokenFilter
build()
Builds aStemmerOverrideTokenFilter
.StemmerOverrideTokenFilter.Builder
rules(java.lang.String value, java.lang.String... values)
API name:rules
StemmerOverrideTokenFilter.Builder
rules(java.util.List<java.lang.String> list)
API name:rules
StemmerOverrideTokenFilter.Builder
rulesPath(java.lang.String value)
API name:rules_path
protected StemmerOverrideTokenFilter.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder
version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
rules
public final StemmerOverrideTokenFilter.Builder rules(java.util.List<java.lang.String> list)
API name:rules
Adds all elements of
list
torules
.
-
rules
public final StemmerOverrideTokenFilter.Builder rules(java.lang.String value, java.lang.String... values)
API name:rules
Adds one or more values to
rules
.
-
rulesPath
public final StemmerOverrideTokenFilter.Builder rulesPath(@Nullable java.lang.String value)
API name:rules_path
-
self
protected StemmerOverrideTokenFilter.Builder self()
- Specified by:
self
in classTokenFilterBase.AbstractBuilder<StemmerOverrideTokenFilter.Builder>
-
build
public StemmerOverrideTokenFilter build()
Builds aStemmerOverrideTokenFilter
.- Specified by:
build
in interfaceObjectBuilder<StemmerOverrideTokenFilter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-