Class RecoveryRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.RecoveryRequest
Returns information about ongoing and completed shard recoveries for one or
more indices. For data streams, the API returns information for the stream’s
backing indices.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._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.final Booleandetailed()Iftrue, the response includes detailed information about shard recoveries.index()Comma-separated list of data streams, indices, and aliases used to limit the request.static RecoveryRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
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, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use*or_all.API name:
index
-