Class TextIndexPrefixes.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TextIndexPrefixes.Builder>
co.elastic.clients.elasticsearch._types.mapping.TextIndexPrefixes.Builder
- All Implemented Interfaces:
WithJson<TextIndexPrefixes.Builder>,ObjectBuilder<TextIndexPrefixes>
- Enclosing class:
- TextIndexPrefixes
public static class TextIndexPrefixes.Builder extends WithJsonObjectBuilderBase<TextIndexPrefixes.Builder> implements ObjectBuilder<TextIndexPrefixes>
Builder for
TextIndexPrefixes.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TextIndexPrefixesbuild()Builds aTextIndexPrefixes.TextIndexPrefixes.BuildermaxChars(int value)Required - API name:max_charsTextIndexPrefixes.BuilderminChars(int value)Required - API name:min_charsprotected TextIndexPrefixes.Builderself()Methods 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
-
maxChars
Required - API name:max_chars -
minChars
Required - API name:min_chars -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TextIndexPrefixes.Builder>
-
build
Builds aTextIndexPrefixes.- Specified by:
buildin interfaceObjectBuilder<TextIndexPrefixes>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-