Class IndexLifecycleExplainResponse
java.lang.Object
org.elasticsearch.client.indexlifecycle.IndexLifecycleExplainResponse
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class IndexLifecycleExplainResponse
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,java.lang.Void>PARSER -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAction()longgetActionTime()org.elasticsearch.common.unit.TimeValuegetAge()java.lang.StringgetFailedStep()java.lang.StringgetIndex()longgetLifecycleDate()java.lang.StringgetPhase()PhaseExecutionInfogetPhaseExecutionInfo()longgetPhaseTime()java.lang.StringgetPolicyName()java.lang.StringgetStep()org.elasticsearch.common.bytes.BytesReferencegetStepInfo()longgetStepTime()inthashCode()booleanmanagedByILM()static IndexLifecycleExplainResponsenewManagedIndexResponse(java.lang.String index, java.lang.String policyName, java.lang.Long lifecycleDate, java.lang.String phase, java.lang.String action, java.lang.String step, java.lang.String failedStep, java.lang.Long phaseTime, java.lang.Long actionTime, java.lang.Long stepTime, org.elasticsearch.common.bytes.BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo)static IndexLifecycleExplainResponsenewUnmanagedIndexResponse(java.lang.String index)java.lang.StringtoString()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,java.lang.Void> PARSER
-
-
Method Details
-
newManagedIndexResponse
public static IndexLifecycleExplainResponse newManagedIndexResponse(java.lang.String index, java.lang.String policyName, java.lang.Long lifecycleDate, java.lang.String phase, java.lang.String action, java.lang.String step, java.lang.String failedStep, java.lang.Long phaseTime, java.lang.Long actionTime, java.lang.Long stepTime, org.elasticsearch.common.bytes.BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo) -
newUnmanagedIndexResponse
-
getIndex
public java.lang.String getIndex() -
managedByILM
public boolean managedByILM() -
getPolicyName
public java.lang.String getPolicyName() -
getLifecycleDate
public long getLifecycleDate() -
getPhase
public java.lang.String getPhase() -
getPhaseTime
public long getPhaseTime() -
getAction
public java.lang.String getAction() -
getActionTime
public long getActionTime() -
getStep
public java.lang.String getStep() -
getStepTime
public long getStepTime() -
getFailedStep
public java.lang.String getFailedStep() -
getStepInfo
public org.elasticsearch.common.bytes.BytesReference getStepInfo() -
getPhaseExecutionInfo
-
getAge
public org.elasticsearch.common.unit.TimeValue getAge() -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
java.io.IOException
-
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
-