Class CustomNormalizer.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.CustomNormalizer.Builder
- All Implemented Interfaces:
CopyableBuilder<CustomNormalizer.Builder,,CustomNormalizer> MutableBuilder<CustomNormalizer.Builder,,CustomNormalizer> ObjectBuilder<CustomNormalizer>
- Enclosing class:
CustomNormalizer
public static class CustomNormalizer.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CustomNormalizer.Builder,CustomNormalizer>
Builder for
CustomNormalizer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCustomNormalizer.final CustomNormalizer.BuildercharFilter(String value, String... values) API name:char_filterfinal CustomNormalizer.BuildercharFilter(List<String> list) API name:char_filtercopy()Create a new builderCopyableBuilderthat is a copy of this one.final CustomNormalizer.BuilderAPI name:filterfinal CustomNormalizer.BuilderAPI name:filterMethods 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<CustomNormalizer.Builder,CustomNormalizer> - Returns:
- a new builder instance.
-
charFilter
API name:char_filterAdds all elements of
listtocharFilter. -
charFilter
API name:char_filterAdds one or more values to
charFilter. -
filter
API name:filterAdds all elements of
listtofilter. -
filter
API name:filterAdds one or more values to
filter. -
build
Builds aCustomNormalizer.- Specified by:
buildin interfaceObjectBuilder<CustomNormalizer>- Throws:
NullPointerException- if some of the required fields are null.
-