Class SimpleAnalyzer.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.SimpleAnalyzer.Builder
- All Implemented Interfaces:
CopyableBuilder<SimpleAnalyzer.Builder,,SimpleAnalyzer> MutableBuilder<SimpleAnalyzer.Builder,,SimpleAnalyzer> ObjectBuilder<SimpleAnalyzer>
- Enclosing class:
SimpleAnalyzer
public static class SimpleAnalyzer.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SimpleAnalyzer.Builder,SimpleAnalyzer>
Builder for
SimpleAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSimpleAnalyzer.copy()Create a new builderCopyableBuilderthat is a copy of this one.final SimpleAnalyzer.BuilderAPI name:versionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<SimpleAnalyzer.Builder,SimpleAnalyzer> - Returns:
- a new builder instance.
-
version
API name:version -
build
Builds aSimpleAnalyzer.- Specified by:
buildin interfaceObjectBuilder<SimpleAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-