Class FingerprintAnalyzer.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.FingerprintAnalyzer.Builder
- All Implemented Interfaces:
ObjectBuilder<FingerprintAnalyzer>
- Enclosing class:
- FingerprintAnalyzer
public static class FingerprintAnalyzer.Builder extends java.lang.Object implements ObjectBuilder<FingerprintAnalyzer>
Builder for
FingerprintAnalyzer
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FingerprintAnalyzer.Builder
addStopwords(java.lang.String value)
Add a value tostopwords(List)
, creating the list if needed.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)
Required - API name:stopwords
FingerprintAnalyzer.Builder
stopwords(java.util.List<java.lang.String> value)
Required - API name:stopwords
FingerprintAnalyzer.Builder
stopwordsPath(java.lang.String value)
Required - API name:stopwords_path
FingerprintAnalyzer.Builder
version(java.lang.String value)
Required - API name:version
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
Required - API name:version
-
maxOutputSize
Required - API name:max_output_size
-
preserveOriginal
Required - API name:preserve_original
-
separator
Required - API name:separator
-
stopwords
Required - API name:stopwords
-
stopwords
Required - API name:stopwords
-
addStopwords
Add a value tostopwords(List)
, creating the list if needed. -
stopwordsPath
Required - 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.
-