Class ExplainLifecycleRequest

  • All Implemented Interfaces:
    Validatable

    public class ExplainLifecycleRequest
    extends TimedRequest
    The request object used by the Explain Lifecycle API.
    • Constructor Detail

      • ExplainLifecycleRequest

        public ExplainLifecycleRequest​(java.lang.String... indices)
    • Method Detail

      • getIndices

        public java.lang.String[] getIndices()
      • 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