Class DenseVectorIndexOptions.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DenseVectorIndexOptions.Builder>
co.elastic.clients.elasticsearch._types.mapping.DenseVectorIndexOptions.Builder
- All Implemented Interfaces:
WithJson<DenseVectorIndexOptions.Builder>,ObjectBuilder<DenseVectorIndexOptions>
- Enclosing class:
- DenseVectorIndexOptions
public static class DenseVectorIndexOptions.Builder
extends WithJsonObjectBuilderBase<DenseVectorIndexOptions.Builder>
implements ObjectBuilder<DenseVectorIndexOptions>
Builder for
DenseVectorIndexOptions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDenseVectorIndexOptions.efConstruction(int value) Required - API name:ef_constructionm(int value) Required - API name:mprotected DenseVectorIndexOptions.Builderself()Required - API name:typeMethods 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
-
type
Required - API name:type -
m
Required - API name:m -
efConstruction
Required - API name:ef_construction -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DenseVectorIndexOptions.Builder>
-
build
Builds aDenseVectorIndexOptions.- Specified by:
buildin interfaceObjectBuilder<DenseVectorIndexOptions>- Throws:
NullPointerException- if some of the required fields are null.
-