Class AllocationRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.cat.CatRequestBase
-
- org.opensearch.client.opensearch.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationRequest.BuilderBuilder forAllocationRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.CatRequestBaseBuilder<BuilderT extends CatRequestBase.CatRequestBaseBuilder>
-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<AllocationRequest,AllocationResponse,ErrorResponse>_ENDPOINTEndpoint "cat.allocation".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Bytesbytes()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 AllocationRequestof(java.util.function.Function<AllocationRequest.Builder,ObjectBuilder<AllocationRequest>> fn)-
Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, queryParameters, sort
-
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<AllocationRequest,AllocationResponse,ErrorResponse> _ENDPOINT
Endpoint "cat.allocation".
-
-
Method Detail
-
of
public static AllocationRequest of(java.util.function.Function<AllocationRequest.Builder,ObjectBuilder<AllocationRequest>> fn)
-
bytes
@Nullable public final Bytes 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
-
-