Package org.opensearch.client.slm
Class SnapshotInvocationRecord
- java.lang.Object
-
- org.opensearch.client.slm.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
-
-
Field Summary
Fields Modifier and Type Field Description static org.opensearch.common.xcontent.ConstructingObjectParser<SnapshotInvocationRecord,java.lang.String>PARSER
-
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 booleanequals(java.lang.Object o)java.lang.StringgetDetails()java.lang.StringgetSnapshotName()longgetTimestamp()inthashCode()static SnapshotInvocationRecordparse(org.opensearch.common.xcontent.XContentParser parser, java.lang.String name)org.opensearch.common.xcontent.XContentBuildertoXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)
-
-
-
Field Detail
-
PARSER
public static final org.opensearch.common.xcontent.ConstructingObjectParser<SnapshotInvocationRecord,java.lang.String> PARSER
-
-
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:
toXContentin interfaceorg.opensearch.common.xcontent.ToXContent- 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
-
-