Class AllocationRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.AllocationRequest
- All Implemented Interfaces:
ToCopyableBuilder<AllocationRequest.Builder,AllocationRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class AllocationRequest
extends CatRequestBase
implements ToCopyableBuilder<AllocationRequest.Builder,AllocationRequest>
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 ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<AllocationRequest, AllocationResponse, ErrorResponse> Endpoint "cat.allocation". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static AllocationRequest.Builderbuilder()final Bytesbytes()The units used to display byte values.final TimeA timeout for connection to the cluster manager node.booleaninthashCode()final TimeDeprecated.nodeId()A comma-separated list of node IDs or names used to limit the returned information.static AllocationRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "cat.allocation".
-
-
Method Details
-
of
public static AllocationRequest of(Function<AllocationRequest.Builder, ObjectBuilder<AllocationRequest>> fn) -
bytes
The units used to display byte values.API name:
bytes -
clusterManagerTimeout
A timeout for connection to the cluster manager node.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.A timeout for connection to the cluster manager node.API name:
master_timeout -
nodeId
A comma-separated list of node IDs or names used to limit the returned information.API name:
node_id -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AllocationRequest.Builder,AllocationRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-