Class ExploreRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.graph.ExploreRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExploreRequest>
- Enclosing class:
- ExploreRequest
public static class ExploreRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<ExploreRequest>
Builder for
ExploreRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExploreRequestbuild()Builds aExploreRequest.ExploreRequest.Builderconnections(Hop value)API name:connectionsExploreRequest.Builderconnections(java.util.function.Function<Hop.Builder,ObjectBuilder<Hop>> fn)API name:connectionsExploreRequest.Buildercontrols(ExploreControls value)API name:controlsExploreRequest.Buildercontrols(java.util.function.Function<ExploreControls.Builder,ObjectBuilder<ExploreControls>> fn)API name:controlsExploreRequest.Builderindex(java.lang.String value, java.lang.String... values)Required - A comma-separated list of index names to search; use_allor empty string to perform the operation on all indicesExploreRequest.Builderindex(java.util.List<java.lang.String> list)Required - A comma-separated list of index names to search; use_allor empty string to perform the operation on all indicesExploreRequest.Builderquery(Query value)API name:queryExploreRequest.Builderquery(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)API name:queryExploreRequest.Builderrouting(java.lang.String value)Specific routing valueExploreRequest.Buildertimeout(Time value)Explicit operation timeoutExploreRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Explicit operation timeoutExploreRequest.Buildervertices(VertexDefinition value, VertexDefinition... values)API name:verticesExploreRequest.Buildervertices(java.util.function.Function<VertexDefinition.Builder,ObjectBuilder<VertexDefinition>> fn)API name:verticesExploreRequest.Buildervertices(java.util.List<VertexDefinition> list)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
API name:connections -
connections
public final ExploreRequest.Builder connections(java.util.function.Function<Hop.Builder,ObjectBuilder<Hop>> fn)API name:connections -
controls
API name:controls -
controls
public final ExploreRequest.Builder controls(java.util.function.Function<ExploreControls.Builder,ObjectBuilder<ExploreControls>> fn)API name:controls -
index
Required - A comma-separated list of index names to search; use_allor empty string to perform the operation on all indicesAPI name:
indexAdds all elements of
listtoindex. -
index
Required - A comma-separated list of index names to search; use_allor empty string to perform the operation on all indicesAPI name:
indexAdds one or more values to
index. -
query
API name:query -
query
public final ExploreRequest.Builder query(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)API name:query -
routing
Specific routing valueAPI name:
routing -
timeout
Explicit operation timeoutAPI name:
timeout -
timeout
public final ExploreRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Explicit operation timeoutAPI name:
timeout -
vertices
API name:verticesAdds all elements of
listtovertices. -
vertices
API name:verticesAdds one or more values to
vertices. -
vertices
public final ExploreRequest.Builder vertices(java.util.function.Function<VertexDefinition.Builder,ObjectBuilder<VertexDefinition>> fn)API name:verticesAdds a value to
verticesusing a builder lambda. -
build
Builds aExploreRequest.- Specified by:
buildin interfaceObjectBuilder<ExploreRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-