Class ElisionTokenFilter.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<ElisionTokenFilter.Builder>
-
- org.opensearch.client.opensearch._types.analysis.ElisionTokenFilter.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ElisionTokenFilter>
- Enclosing class:
- ElisionTokenFilter
public static class ElisionTokenFilter.Builder extends TokenFilterBase.AbstractBuilder<ElisionTokenFilter.Builder> implements ObjectBuilder<ElisionTokenFilter>
Builder forElisionTokenFilter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElisionTokenFilter.Builder
articles(java.lang.String value, java.lang.String... values)
Required - API name:articles
ElisionTokenFilter.Builder
articles(java.util.List<java.lang.String> list)
Required - API name:articles
ElisionTokenFilter.Builder
articlesCase(boolean value)
Required - API name:articles_case
ElisionTokenFilter
build()
Builds aElisionTokenFilter
.protected ElisionTokenFilter.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
-
articles
public final ElisionTokenFilter.Builder articles(java.util.List<java.lang.String> list)
Required - API name:articles
Adds all elements of
list
toarticles
.
-
articles
public final ElisionTokenFilter.Builder articles(java.lang.String value, java.lang.String... values)
Required - API name:articles
Adds one or more values to
articles
.
-
articlesCase
public final ElisionTokenFilter.Builder articlesCase(boolean value)
Required - API name:articles_case
-
self
protected ElisionTokenFilter.Builder self()
- Specified by:
self
in classTokenFilterBase.AbstractBuilder<ElisionTokenFilter.Builder>
-
build
public ElisionTokenFilter build()
Builds aElisionTokenFilter
.- Specified by:
build
in interfaceObjectBuilder<ElisionTokenFilter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-