Class ExplainLifecycleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ExplainLifecycleRequest.Builder>
co.elastic.clients.elasticsearch.ilm.ExplainLifecycleRequest.Builder
- All Implemented Interfaces:
- WithJson<ExplainLifecycleRequest.Builder>,- ObjectBuilder<ExplainLifecycleRequest>
- Enclosing class:
- ExplainLifecycleRequest
public static class ExplainLifecycleRequest.Builder
extends RequestBase.AbstractBuilder<ExplainLifecycleRequest.Builder>
implements ObjectBuilder<ExplainLifecycleRequest>
Builder for 
ExplainLifecycleRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aExplainLifecycleRequest.Required - Comma-separated list of data streams, indices, and aliases to target.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.onlyErrors(Boolean value) Filters 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.onlyManaged(Boolean value) Filters the returned indices to only indices that are managed by ILM.protected ExplainLifecycleRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
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
- 
masterTimeoutpublic final ExplainLifecycleRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Period 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
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<ExplainLifecycleRequest.Builder>
 
- 
buildBuilds aExplainLifecycleRequest.- Specified by:
- buildin interface- ObjectBuilder<ExplainLifecycleRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-