Class ExplainLifecycleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ilm.ExplainLifecycleRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExplainLifecycleRequest>
- Enclosing class:
- ExplainLifecycleRequest
public static class ExplainLifecycleRequest.Builder extends ObjectBuilderBase 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)
Required - 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 co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
Required - 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.
-