Class RecoveryRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.RecoveryRequest
- All Implemented Interfaces:
ToCopyableBuilder<RecoveryRequest.Builder,RecoveryRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class RecoveryRequest
extends RequestBase
implements ToCopyableBuilder<RecoveryRequest.Builder,RecoveryRequest>
Returns information about ongoing index shard recoveries.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<RecoveryRequest, RecoveryResponse, ErrorResponse> Endpoint "indices.recovery". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIftrue, the response only includes ongoing shard recoveries.protected voidapplyQueryParameters(Map<String, String> params) static RecoveryRequest.Builderbuilder()final Booleandetailed()Iftrue, the response includes detailed information about shard recoveries.booleaninthashCode()index()Comma-separated list of data streams, indexes, and aliases used to limit the request.static RecoveryRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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 "indices.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 -
detailed
Iftrue, the response includes detailed information about shard recoveries.API name:
detailed -
index
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 -
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 classRequestBase
-
hashCode
public int hashCode() -
equals
-