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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aVocabulary.final Vocabulary.BuilderRequired - API name:indexprotected Vocabulary.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<Vocabulary.Builder>
-
build
Builds aVocabulary.- Specified by:
buildin interfaceObjectBuilder<Vocabulary>- Throws:
NullPointerException- if some of the required fields are null.
-