Class Vertex.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.graph.Vertex.Builder
- All Implemented Interfaces:
ObjectBuilder<Vertex>
- Enclosing class:
- Vertex
public static class Vertex.Builder extends ObjectBuilderBase implements ObjectBuilder<Vertex>
Builder for
Vertex.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Vertexbuild()Builds aVertex.Vertex.Builderdepth(long value)Required - API name:depthVertex.Builderfield(java.lang.String value)Required - API name:fieldVertex.Builderterm(java.lang.String value)Required - API name:termVertex.Builderweight(double value)Required - API name:weightMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
depth
Required - API name:depth -
field
Required - API name:field -
term
Required - API name:term -
weight
Required - API name:weight -
build
Builds aVertex.- Specified by:
buildin interfaceObjectBuilder<Vertex>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-