Class ExplainLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.ExplainLifecycleRequest
Explain the lifecycle state. Get the current lifecycle status for one or more
 indices. For data streams, the API retrieves the current lifecycle status for
 the stream's backing indices.
 
The response indicates when the index entered each lifecycle state, provides the definition of the running phase, and information about any failures.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<ExplainLifecycleRequest,ExplainLifecycleResponse, ErrorResponse> Endpoint "ilm.explain_lifecycle".
- 
Method SummaryModifier and TypeMethodDescriptionfinal Stringindex()Required - Comma-separated list of data streams, indices, and aliases to target.final TimePeriod to wait for a connection to the master node.static ExplainLifecycleRequestfinal BooleanFilters the returned indices to only indices that are managed by ILM and are in an error state, either due to an encountering an error while executing the policy, or attempting to use a policy that does not exist.final BooleanFilters the returned indices to only indices that are managed by ILM.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<ExplainLifecycleRequest,ExplainLifecycleResponse, _ENDPOINTErrorResponse> Endpoint "ilm.explain_lifecycle".
 
- 
- 
Method Details- 
ofpublic static ExplainLifecycleRequest of(Function<ExplainLifecycleRequest.Builder, ObjectBuilder<ExplainLifecycleRequest>> fn) 
- 
indexRequired - Comma-separated list of data streams, indices, and aliases to target. Supports wildcards (*). To target all data streams and indices, use*or_all.API name: index
- 
masterTimeoutPeriod to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name: master_timeout
- 
onlyErrorsFilters the returned indices to only indices that are managed by ILM and are in an error state, either due to an encountering an error while executing the policy, or attempting to use a policy that does not exist.API name: only_errors
- 
onlyManagedFilters the returned indices to only indices that are managed by ILM.API name: only_managed
 
-