Package org.elasticsearch.client.slm
Class SnapshotInvocationRecord
- java.lang.Object
-
- org.elasticsearch.client.slm.SnapshotInvocationRecord
-
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class SnapshotInvocationRecord 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
Fields Modifier and Type Field Description static ConstructingObjectParser<SnapshotInvocationRecord,java.lang.String>
PARSER
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description SnapshotInvocationRecord(java.lang.String snapshotName, long timestamp, java.lang.String details)
-
Method Summary
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(XContentParser parser, java.lang.String name)
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
PARSER
public static final ConstructingObjectParser<SnapshotInvocationRecord,java.lang.String> PARSER
-
-
Method Detail
-
parse
public static SnapshotInvocationRecord parse(XContentParser parser, java.lang.String name)
-
getSnapshotName
public java.lang.String getSnapshotName()
-
getTimestamp
public long getTimestamp()
-
getDetails
public java.lang.String getDetails()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- 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
-
-