Class ShardsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.ShardsRequest
- All Implemented Interfaces:
ToCopyableBuilder<ShardsRequest.Builder,ShardsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ShardsRequest
extends CatRequestBase
implements ToCopyableBuilder<ShardsRequest.Builder,ShardsRequest>
Lists the states of all primary and replica shards and how they are distributed.
-
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<ShardsRequest, ShardsResponse, ErrorResponse> Endpoint "cat.shards". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static ShardsRequest.Builderbuilder()final Bytesbytes()The units used to display byte values.final TimeThe amount of time allowed to establish a connection to the cluster manager node.booleaninthashCode()index()A comma-separated list of data streams, indexes, and aliases used to limit the request.final TimeDeprecated.static ShardsRequestfinal TimeUnittime()Specifies the time units, for example,5dor7h.Create 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.shards".
-
-
Method Details
-
of
-
bytes
The units used to display byte values.API name:
bytes -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
index
A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
index -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
time
Specifies the time units, for example,5dor7h. For more information, see Supported units.API name:
time -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ShardsRequest.Builder,ShardsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-