Class GetSnapshotLifecyclePolicyResponse

  • All Implemented Interfaces:
    org.opensearch.common.xcontent.ToXContent, org.opensearch.common.xcontent.ToXContentObject

    public class GetSnapshotLifecyclePolicyResponse
    extends java.lang.Object
    implements org.opensearch.common.xcontent.ToXContentObject
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent

        org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
    • Field Summary

      • Fields inherited from interface org.opensearch.common.xcontent.ToXContent

        EMPTY_PARAMS
    • Constructor Detail

      • GetSnapshotLifecyclePolicyResponse

        public GetSnapshotLifecyclePolicyResponse​(java.util.Map<java.lang.String,​SnapshotLifecyclePolicyMetadata> policies)
    • Method Detail

      • fromXContent

        public static GetSnapshotLifecyclePolicyResponse fromXContent​(org.opensearch.common.xcontent.XContentParser parser)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • toXContent

        public org.opensearch.common.xcontent.XContentBuilder toXContent​(org.opensearch.common.xcontent.XContentBuilder builder,
                                                                         org.opensearch.common.xcontent.ToXContent.Params params)
                                                                  throws java.io.IOException
        Specified by:
        toXContent in interface org.opensearch.common.xcontent.ToXContent
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object