Class Vocabulary.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Vocabulary.Builder>
co.elastic.clients.elasticsearch.ml.Vocabulary.Builder
- All Implemented Interfaces:
WithJson<Vocabulary.Builder>
,ObjectBuilder<Vocabulary>
- Enclosing class:
- Vocabulary
public static class Vocabulary.Builder
extends WithJsonObjectBuilderBase<Vocabulary.Builder>
implements ObjectBuilder<Vocabulary>
Builder for
Vocabulary
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aVocabulary
.final Vocabulary.Builder
Required - API name:index
protected Vocabulary.Builder
self()
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
-
index
Required - API name:index
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Vocabulary.Builder>
-
build
Builds aVocabulary
.- Specified by:
build
in interfaceObjectBuilder<Vocabulary>
- Throws:
NullPointerException
- if some of the required fields are null.
-