Class ExplainLifecycleRequest
java.lang.Object
org.elasticsearch.client.TimedRequest
org.elasticsearch.client.indexlifecycle.ExplainLifecycleRequest
- All Implemented Interfaces:
Validatable
public class ExplainLifecycleRequest extends TimedRequest
The request object used by the Explain Lifecycle API.
-
Field Summary
Fields inherited from class org.elasticsearch.client.TimedRequest
DEFAULT_ACK_TIMEOUT, DEFAULT_MASTER_NODE_TIMEOUT
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
Constructors Constructor Description ExplainLifecycleRequest(java.lang.String... indices)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String[]
getIndices()
int
hashCode()
org.elasticsearch.action.support.IndicesOptions
indicesOptions()
ExplainLifecycleRequest
indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions)
java.lang.String
toString()
java.util.Optional<ValidationException>
validate()
Perform validation.Methods inherited from class org.elasticsearch.client.TimedRequest
masterNodeTimeout, setMasterTimeout, setTimeout, timeout
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ExplainLifecycleRequest
public ExplainLifecycleRequest(java.lang.String... indices)
-
-
Method Details
-
getIndices
public java.lang.String[] getIndices() -
indicesOptions
public ExplainLifecycleRequest indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions) -
indicesOptions
public org.elasticsearch.action.support.IndicesOptions indicesOptions() -
validate
Description copied from interface:Validatable
Perform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. AValidationException
that is not null is assumed to contain validation errors and will be thrown.- Returns:
- An
Optional
ValidationException
that contains a list of validation errors.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-