Class AsciiFoldingTokenFilter.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<AsciiFoldingTokenFilter.Builder>
-
- org.opensearch.client.opensearch._types.analysis.AsciiFoldingTokenFilter.Builder
-
- All Implemented Interfaces:
ObjectBuilder<AsciiFoldingTokenFilter>
- Enclosing class:
- AsciiFoldingTokenFilter
public static class AsciiFoldingTokenFilter.Builder extends TokenFilterBase.AbstractBuilder<AsciiFoldingTokenFilter.Builder> implements ObjectBuilder<AsciiFoldingTokenFilter>
Builder forAsciiFoldingTokenFilter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsciiFoldingTokenFilter
build()
Builds aAsciiFoldingTokenFilter
.AsciiFoldingTokenFilter.Builder
preserveOriginal(boolean value)
Required - API name:preserve_original
protected AsciiFoldingTokenFilter.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
-
preserveOriginal
public final AsciiFoldingTokenFilter.Builder preserveOriginal(boolean value)
Required - API name:preserve_original
-
self
protected AsciiFoldingTokenFilter.Builder self()
- Specified by:
self
in classTokenFilterBase.AbstractBuilder<AsciiFoldingTokenFilter.Builder>
-
build
public AsciiFoldingTokenFilter build()
Builds aAsciiFoldingTokenFilter
.- Specified by:
build
in interfaceObjectBuilder<AsciiFoldingTokenFilter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-