Class GpuVectorIndexing.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder<GpuVectorIndexing.Builder>
co.elastic.clients.elasticsearch.xpack.usage.GpuVectorIndexing.Builder
- All Implemented Interfaces:
WithJson<GpuVectorIndexing.Builder>,ObjectBuilder<GpuVectorIndexing>
- Enclosing class:
- GpuVectorIndexing
public static class GpuVectorIndexing.Builder
extends Base.AbstractBuilder<GpuVectorIndexing.Builder>
implements ObjectBuilder<GpuVectorIndexing>
Builder for
GpuVectorIndexing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGpuVectorIndexing.indexBuildCount(long value) Required - Total GPU index builds across the cluster.nodes(GpuNodeStats value, GpuNodeStats... values) Required - Per-node GPU details including type, memory, enabled status, and build count.Required - Per-node GPU details including type, memory, enabled status, and build count.nodes(List<GpuNodeStats> list) Required - Per-node GPU details including type, memory, enabled status, and build count.nodesWithGpu(int value) Required - Count of data nodes with GPU support.protected GpuVectorIndexing.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder
available, enabledMethods 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
-
indexBuildCount
Required - Total GPU index builds across the cluster.API name:
index_build_count -
nodesWithGpu
Required - Count of data nodes with GPU support.API name:
nodes_with_gpu -
nodes
Required - Per-node GPU details including type, memory, enabled status, and build count.API name:
nodesAdds all elements of
listtonodes. -
nodes
Required - Per-node GPU details including type, memory, enabled status, and build count.API name:
nodesAdds one or more values to
nodes. -
nodes
public final GpuVectorIndexing.Builder nodes(Function<GpuNodeStats.Builder, ObjectBuilder<GpuNodeStats>> fn) Required - Per-node GPU details including type, memory, enabled status, and build count.API name:
nodesAdds a value to
nodesusing a builder lambda. -
self
- Specified by:
selfin classBase.AbstractBuilder<GpuVectorIndexing.Builder>
-
build
Builds aGpuVectorIndexing.- Specified by:
buildin interfaceObjectBuilder<GpuVectorIndexing>- Throws:
NullPointerException- if some of the required fields are null.
-