Class ExploreResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.graph.ExploreResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<ExploreResponse>
- Enclosing class:
- ExploreResponse
public static class ExploreResponse.Builder extends java.lang.Object implements ObjectBuilder<ExploreResponse>
Builder for
ExploreResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connections
API name:connections -
connections
API name:connections -
addConnections
Add a value toconnections(List), creating the list if needed. 4 -
connections
public ExploreResponse.Builder connections(java.util.function.Function<Connection.Builder,ObjectBuilder<Connection>> fn)Setconnections(List)to a singleton list. -
addConnections
public ExploreResponse.Builder addConnections(java.util.function.Function<Connection.Builder,ObjectBuilder<Connection>> fn)Add a value toconnections(List), creating the list if needed. 5 -
failures
API name:failures -
failures
API name:failures -
addFailures
Add a value tofailures(List), creating the list if needed. 4 -
failures
public ExploreResponse.Builder failures(java.util.function.Function<ShardFailure.Builder,ObjectBuilder<ShardFailure>> fn)Setfailures(List)to a singleton list. -
addFailures
public ExploreResponse.Builder addFailures(java.util.function.Function<ShardFailure.Builder,ObjectBuilder<ShardFailure>> fn)Add a value tofailures(List), creating the list if needed. 5 -
timedOut
API name:timed_out -
took
API name:took -
vertices
API name:vertices -
vertices
API name:vertices -
addVertices
Add a value tovertices(List), creating the list if needed. 4 -
vertices
public ExploreResponse.Builder vertices(java.util.function.Function<Vertex.Builder,ObjectBuilder<Vertex>> fn)Setvertices(List)to a singleton list. -
addVertices
public ExploreResponse.Builder addVertices(java.util.function.Function<Vertex.Builder,ObjectBuilder<Vertex>> fn)Add a value tovertices(List), creating the list if needed. 5 -
build
Builds aExploreResponse.- Specified by:
buildin interfaceObjectBuilder<ExploreResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-