Class ExplainLifecycleRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ilm.ExplainLifecycleRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExplainLifecycleRequest>
- Enclosing class:
- ExplainLifecycleRequest
public static class ExplainLifecycleRequest.Builder extends java.lang.Object implements ObjectBuilder<ExplainLifecycleRequest>
Builder for
ExplainLifecycleRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ExplainLifecycleRequest
build()
Builds aExplainLifecycleRequest
.ExplainLifecycleRequest.Builder
index(java.lang.String value)
The name of the index to explainExplainLifecycleRequest.Builder
onlyErrors(java.lang.Boolean value)
filters the indices included in the response to ones in an ILM error state, implies only_managedExplainLifecycleRequest.Builder
onlyManaged(java.lang.Boolean value)
filters the indices included in the response to ones managed by ILMMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
The name of the index to explainAPI name:
index
-
onlyErrors
filters the indices included in the response to ones in an ILM error state, implies only_managedAPI name:
only_errors
-
onlyManaged
filters the indices included in the response to ones managed by ILMAPI name:
only_managed
-
build
Builds aExplainLifecycleRequest
.- Specified by:
build
in interfaceObjectBuilder<ExplainLifecycleRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-