Class SmartcnTokenizer.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.TokenizerBase.AbstractBuilder<SmartcnTokenizer.Builder>
-
- org.opensearch.client.opensearch._types.analysis.SmartcnTokenizer.Builder
-
- All Implemented Interfaces:
CopyableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer>,MutableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer>,ObjectBuilder<SmartcnTokenizer>
- Enclosing class:
- SmartcnTokenizer
public static class SmartcnTokenizer.Builder extends TokenizerBase.AbstractBuilder<SmartcnTokenizer.Builder> implements CopyableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer>
Builder forSmartcnTokenizer.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmartcnTokenizerbuild()Builds aSmartcnTokenizer.SmartcnTokenizer.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.protected SmartcnTokenizer.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenizerBase.AbstractBuilder
version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public SmartcnTokenizer.Builder copy()
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer>- Returns:
- a new builder instance.
-
self
@Nonnull protected SmartcnTokenizer.Builder self()
- Specified by:
selfin classTokenizerBase.AbstractBuilder<SmartcnTokenizer.Builder>
-
build
@Nonnull public SmartcnTokenizer build()
Builds aSmartcnTokenizer.- Specified by:
buildin interfaceObjectBuilder<SmartcnTokenizer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-