Class SnapshotInvocationRecord

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

    public class SnapshotInvocationRecord
    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 
      Modifier and Type Field Description
      static org.opensearch.common.xcontent.ConstructingObjectParser<SnapshotInvocationRecord,​java.lang.String> PARSER  
      • Fields inherited from interface org.opensearch.common.xcontent.ToXContent

        EMPTY_PARAMS
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapshotInvocationRecord​(java.lang.String snapshotName, long timestamp, java.lang.String details)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getDetails()  
      java.lang.String getSnapshotName()  
      long getTimestamp()  
      int hashCode()  
      static SnapshotInvocationRecord parse​(org.opensearch.common.xcontent.XContentParser parser, java.lang.String name)  
      org.opensearch.common.xcontent.XContentBuilder toXContent​(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.opensearch.common.xcontent.ToXContentObject

        isFragment
    • Field Detail

      • PARSER

        public static final org.opensearch.common.xcontent.ConstructingObjectParser<SnapshotInvocationRecord,​java.lang.String> PARSER
    • Constructor Detail

      • SnapshotInvocationRecord

        public SnapshotInvocationRecord​(java.lang.String snapshotName,
                                        long timestamp,
                                        java.lang.String details)
    • Method Detail

      • parse

        public static SnapshotInvocationRecord parse​(org.opensearch.common.xcontent.XContentParser parser,
                                                     java.lang.String name)
      • getSnapshotName

        public java.lang.String getSnapshotName()
      • getTimestamp

        public long getTimestamp()
      • getDetails

        public java.lang.String getDetails()
      • 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