Class ExploreResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.graph.ExploreResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<ExploreResponse>
- Enclosing class:
- ExploreResponse
public static class ExploreResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<ExploreResponse>
Builder for
ExploreResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExploreResponsebuild()Builds aExploreResponse.ExploreResponse.Builderconnections(Connection value, Connection... values)Required - API name:connectionsExploreResponse.Builderconnections(java.util.function.Function<Connection.Builder,ObjectBuilder<Connection>> fn)Required - API name:connectionsExploreResponse.Builderconnections(java.util.List<Connection> list)Required - API name:connectionsExploreResponse.Builderfailures(ShardFailure value, ShardFailure... values)Required - API name:failuresExploreResponse.Builderfailures(java.util.function.Function<ShardFailure.Builder,ObjectBuilder<ShardFailure>> fn)Required - API name:failuresExploreResponse.Builderfailures(java.util.List<ShardFailure> list)Required - API name:failuresExploreResponse.BuildertimedOut(boolean value)Required - API name:timed_outExploreResponse.Buildertook(long value)Required - API name:tookExploreResponse.Buildervertices(Vertex value, Vertex... values)Required - API name:verticesExploreResponse.Buildervertices(java.util.function.Function<Vertex.Builder,ObjectBuilder<Vertex>> fn)Required - API name:verticesExploreResponse.Buildervertices(java.util.List<Vertex> list)Required - API name:verticesMethods 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
-
connections
Required - API name:connectionsAdds all elements of
listtoconnections. -
connections
Required - API name:connectionsAdds one or more values to
connections. -
connections
public final ExploreResponse.Builder connections(java.util.function.Function<Connection.Builder,ObjectBuilder<Connection>> fn)Required - API name:connectionsAdds a value to
connectionsusing a builder lambda. -
failures
Required - API name:failuresAdds all elements of
listtofailures. -
failures
Required - API name:failuresAdds one or more values to
failures. -
failures
public final ExploreResponse.Builder failures(java.util.function.Function<ShardFailure.Builder,ObjectBuilder<ShardFailure>> fn)Required - API name:failuresAdds a value to
failuresusing a builder lambda. -
timedOut
Required - API name:timed_out -
took
Required - API name:took -
vertices
Required - API name:verticesAdds all elements of
listtovertices. -
vertices
Required - API name:verticesAdds one or more values to
vertices. -
vertices
public final ExploreResponse.Builder vertices(java.util.function.Function<Vertex.Builder,ObjectBuilder<Vertex>> fn)Required - API name:verticesAdds a value to
verticesusing a builder lambda. -
build
Builds aExploreResponse.- Specified by:
buildin interfaceObjectBuilder<ExploreResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-