Class RankVectorProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<RankVectorProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.RankVectorProperty.Builder
- All Implemented Interfaces:
WithJson<RankVectorProperty.Builder>,ObjectBuilder<RankVectorProperty>
- Enclosing class:
- RankVectorProperty
public static class RankVectorProperty.Builder
extends PropertyBase.AbstractBuilder<RankVectorProperty.Builder>
implements ObjectBuilder<RankVectorProperty>
Builder for
RankVectorProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRankVectorProperty.API name:dimselementType(RankVectorElementType value) API name:element_typeprotected RankVectorProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, properties, syntheticSourceKeepMethods 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
-
elementType
API name:element_type -
dims
API name:dims -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<RankVectorProperty.Builder>
-
build
Builds aRankVectorProperty.- Specified by:
buildin interfaceObjectBuilder<RankVectorProperty>- Throws:
NullPointerException- if some of the required fields are null.
-