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 ExplainLifecycleRequestbuild()Builds aExplainLifecycleRequest.ExplainLifecycleRequest.Builderindex(java.lang.String value)The name of the index to explainExplainLifecycleRequest.BuilderonlyErrors(java.lang.Boolean value)filters the indices included in the response to ones in an ILM error state, implies only_managedExplainLifecycleRequest.BuilderonlyManaged(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:
buildin interfaceObjectBuilder<ExplainLifecycleRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-