Class GermanAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GermanAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.GermanAnalyzer.Builder
- All Implemented Interfaces:
WithJson<GermanAnalyzer.Builder>
,ObjectBuilder<GermanAnalyzer>
- Enclosing class:
- GermanAnalyzer
public static class GermanAnalyzer.Builder
extends WithJsonObjectBuilderBase<GermanAnalyzer.Builder>
implements ObjectBuilder<GermanAnalyzer>
Builder for
GermanAnalyzer
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGermanAnalyzer
.protected GermanAnalyzer.Builder
self()
final GermanAnalyzer.Builder
stemExclusion
(String value, String... values) API name:stem_exclusion
final GermanAnalyzer.Builder
stemExclusion
(List<String> list) API name:stem_exclusion
final GermanAnalyzer.Builder
API name:stopwords
final GermanAnalyzer.Builder
API name:stopwords
final GermanAnalyzer.Builder
stopwordsPath
(String value) API name:stopwords_path
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stopwords
API name:stopwords
Adds all elements of
list
tostopwords
. -
stopwords
API name:stopwords
Adds one or more values to
stopwords
. -
stopwordsPath
API name:stopwords_path
-
stemExclusion
API name:stem_exclusion
Adds all elements of
list
tostemExclusion
. -
stemExclusion
API name:stem_exclusion
Adds one or more values to
stemExclusion
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<GermanAnalyzer.Builder>
-
build
Builds aGermanAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<GermanAnalyzer>
- Throws:
NullPointerException
- if some of the required fields are null.
-