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 booleanequals(java.lang.Object obj)java.lang.String[]getIndices()inthashCode()IndicesOptionsindicesOptions()ExplainLifecycleRequestindicesOptions(IndicesOptions indicesOptions)java.lang.StringtoString()java.util.Optional<ValidationException>validate()Perform validation.-
Methods inherited from class org.elasticsearch.client.TimedRequest
masterNodeTimeout, setMasterTimeout, setTimeout, timeout
-
-
-
-
Method Detail
-
getIndices
public java.lang.String[] getIndices()
-
indicesOptions
public ExplainLifecycleRequest indicesOptions(IndicesOptions indicesOptions)
-
indicesOptions
public IndicesOptions indicesOptions()
-
validate
public java.util.Optional<ValidationException> validate()
Description copied from interface:ValidatablePerform 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. AValidationExceptionthat is not null is assumed to contain validation errors and will be thrown.- Returns:
- An
OptionalValidationExceptionthat contains a list of validation errors.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-