Class ExplainLifecycleResponse

java.lang.Object
org.elasticsearch.client.indexlifecycle.ExplainLifecycleResponse
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class ExplainLifecycleResponse extends Object implements org.elasticsearch.xcontent.ToXContentObject
The response object returned by the Explain Lifecycle API. Since the API can be run over multiple indices the response provides a map of index to the explanation of the lifecycle status for that index.
  • Constructor Details

  • Method Details

    • fromXContent

      public static ExplainLifecycleResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser)
    • getIndexResponses

      public Map<String,IndexLifecycleExplainResponse> getIndexResponses()
      Returns:
      a map of the responses from each requested index. The maps key is the index name and the value is the IndexLifecycleExplainResponse describing the current lifecycle status of that index
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object