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 boolean
equals(java.lang.Object o)
static GetLifecyclePolicyResponse
fromXContent(XContentParser parser)
ImmutableOpenMap<java.lang.String,LifecyclePolicyMetadata>
getPolicies()
int
hashCode()
XContentBuilder
toXContent(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:
toXContent
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-