Class GetLifecyclePolicyResponse
java.lang.Object
org.elasticsearch.client.indexlifecycle.GetLifecyclePolicyResponse
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetLifecyclePolicyResponse extends java.lang.Object implements ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
-
Constructor Summary
Constructors Constructor Description GetLifecyclePolicyResponse(ImmutableOpenMap<java.lang.String,LifecyclePolicyMetadata> policies) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static GetLifecyclePolicyResponsefromXContent(XContentParser parser)ImmutableOpenMap<java.lang.String,LifecyclePolicyMetadata>getPolicies()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Constructor Details
-
GetLifecyclePolicyResponse
public GetLifecyclePolicyResponse(ImmutableOpenMap<java.lang.String,LifecyclePolicyMetadata> policies)
-
-
Method Details
-
getPolicies
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
fromXContent
public static GetLifecyclePolicyResponse fromXContent(XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-