Class FingerprintAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.analysis.FingerprintAnalyzer.Builder
- All Implemented Interfaces:
ObjectBuilder<FingerprintAnalyzer>
- Enclosing class:
- FingerprintAnalyzer
public static class FingerprintAnalyzer.Builder extends ObjectBuilderBase implements ObjectBuilder<FingerprintAnalyzer>
Builder for
FingerprintAnalyzer
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FingerprintAnalyzer
build()
Builds aFingerprintAnalyzer
.FingerprintAnalyzer.Builder
maxOutputSize(int value)
Required - API name:max_output_size
FingerprintAnalyzer.Builder
preserveOriginal(boolean value)
Required - API name:preserve_original
FingerprintAnalyzer.Builder
separator(java.lang.String value)
Required - API name:separator
FingerprintAnalyzer.Builder
stopwords(java.lang.String value, java.lang.String... values)
API name:stopwords
FingerprintAnalyzer.Builder
stopwords(java.util.List<java.lang.String> list)
API name:stopwords
FingerprintAnalyzer.Builder
stopwordsPath(java.lang.String value)
API name:stopwords_path
FingerprintAnalyzer.Builder
version(java.lang.String value)
API name:version
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
version
API name:version
-
maxOutputSize
Required - API name:max_output_size
-
preserveOriginal
Required - API name:preserve_original
-
separator
Required - API name:separator
-
stopwords
API name:stopwords
Adds all elements of
list
tostopwords
. -
stopwords
public final FingerprintAnalyzer.Builder stopwords(java.lang.String value, java.lang.String... values)API name:stopwords
Adds one or more values to
stopwords
. -
stopwordsPath
API name:stopwords_path
-
build
Builds aFingerprintAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<FingerprintAnalyzer>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-