Class SparseVectorProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<SparseVectorProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.SparseVectorProperty.Builder
- All Implemented Interfaces:
WithJson<SparseVectorProperty.Builder>
,ObjectBuilder<SparseVectorProperty>
- Enclosing class:
- SparseVectorProperty
public static class SparseVectorProperty.Builder
extends PropertyBase.AbstractBuilder<SparseVectorProperty.Builder>
implements ObjectBuilder<SparseVectorProperty>
Builder for
SparseVectorProperty
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSparseVectorProperty
.protected SparseVectorProperty.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, properties
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
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<SparseVectorProperty.Builder>
-
build
Builds aSparseVectorProperty
.- Specified by:
build
in interfaceObjectBuilder<SparseVectorProperty>
- Throws:
NullPointerException
- if some of the required fields are null.
-