Class RecoveryRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.RecoveryRequest
- All Implemented Interfaces:
ToCopyableBuilder<RecoveryRequest.Builder,RecoveryRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class RecoveryRequest
extends CatRequestBase
implements ToCopyableBuilder<RecoveryRequest.Builder,RecoveryRequest>
Returns all completed and ongoing index and shard recoveries.
-
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<RecoveryRequest, RecoveryResponse, ErrorResponse> Endpoint "cat.recovery". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIftrue, the response only includes ongoing shard recoveries.protected voidapplyQueryParameters(Map<String, String> params) static RecoveryRequest.Builderbuilder()final Bytesbytes()The units used to display byte values.final Booleandetailed()Whentrue, includes detailed information about shard recoveries.booleaninthashCode()index()A comma-separated list of data streams, indexes, and aliases used to limit the request.static RecoveryRequestfinal 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.recovery".
-
-
Method Details
-
of
public static RecoveryRequest of(Function<RecoveryRequest.Builder, ObjectBuilder<RecoveryRequest>> fn) -
activeOnly
Iftrue, the response only includes ongoing shard recoveries.API name:
active_only -
bytes
The units used to display byte values.API name:
bytes -
detailed
Whentrue, includes detailed information about shard recoveries.API name:
detailed -
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 -
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<RecoveryRequest.Builder,RecoveryRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-