Class ExplainLifecycleRequest

  • All Implemented Interfaces:
    Validatable

    public class ExplainLifecycleRequest
    extends TimedRequest
    The request object used by the Explain Lifecycle API. Multiple indices may be queried in the same request using the indices(String...) method
    • Constructor Detail

      • ExplainLifecycleRequest

        public ExplainLifecycleRequest()
    • Method Detail

      • indices

        public java.lang.String[] indices()
      • validate

        public java.util.Optional<ValidationException> 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. A ValidationException 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object