Class FingerprintAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FingerprintAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.FingerprintAnalyzer.Builder
- All Implemented Interfaces:
WithJson<FingerprintAnalyzer.Builder>,ObjectBuilder<FingerprintAnalyzer>
- Enclosing class:
- FingerprintAnalyzer
public static class FingerprintAnalyzer.Builder extends WithJsonObjectBuilderBase<FingerprintAnalyzer.Builder> implements ObjectBuilder<FingerprintAnalyzer>
Builder for
FingerprintAnalyzer.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FingerprintAnalyzerbuild()Builds aFingerprintAnalyzer.FingerprintAnalyzer.BuildermaxOutputSize(int value)Required - API name:max_output_sizeFingerprintAnalyzer.BuilderpreserveOriginal(boolean value)Required - API name:preserve_originalprotected FingerprintAnalyzer.Builderself()FingerprintAnalyzer.Builderseparator(java.lang.String value)Required - API name:separatorFingerprintAnalyzer.Builderstopwords(java.lang.String value, java.lang.String... values)API name:stopwordsFingerprintAnalyzer.Builderstopwords(java.util.List<java.lang.String> list)API name:stopwordsFingerprintAnalyzer.BuilderstopwordsPath(java.lang.String value)API name:stopwords_pathFingerprintAnalyzer.Builderversion(java.lang.String value)API name:versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:stopwordsAdds all elements of
listtostopwords. -
stopwords
public final FingerprintAnalyzer.Builder stopwords(java.lang.String value, java.lang.String... values)API name:stopwordsAdds one or more values to
stopwords. -
stopwordsPath
API name:stopwords_path -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FingerprintAnalyzer.Builder>
-
build
Builds aFingerprintAnalyzer.- Specified by:
buildin interfaceObjectBuilder<FingerprintAnalyzer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-