Class AllocationRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.AllocationRequest
public class AllocationRequest extends CatRequestBase
Provides a snapshot of how many shards are allocated to each data node and
how much disk space they are using.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AllocationRequest.Builder
Builder forAllocationRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<AllocationRequest,AllocationResponse,ErrorResponse>
_ENDPOINT
Endpoint "cat.allocation
". -
Method Summary
Modifier and Type Method Description Bytes
bytes()
The unit in which to display byte valuesjava.util.List<java.lang.String>
nodeId()
A comma-separated list of node IDs or names to limit the returned informationstatic AllocationRequest
of(java.util.function.Function<AllocationRequest.Builder,ObjectBuilder<AllocationRequest>> fn)
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "cat.allocation
".
-
-
Method Details
-
of
public static AllocationRequest of(java.util.function.Function<AllocationRequest.Builder,ObjectBuilder<AllocationRequest>> fn) -
bytes
The unit in which to display byte valuesAPI name:
bytes
-
nodeId
public final java.util.List<java.lang.String> nodeId()A comma-separated list of node IDs or names to limit the returned informationAPI name:
node_id
-