Package org.elasticsearch.client.slm
Class SnapshotInvocationRecord
java.lang.Object
org.elasticsearch.client.slm.SnapshotInvocationRecord
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class SnapshotInvocationRecord
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.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
Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDetails()java.lang.StringgetSnapshotName()longgetTimestamp()inthashCode()static SnapshotInvocationRecordparse(org.elasticsearch.common.xcontent.XContentParser parser, java.lang.String name)org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<SnapshotInvocationRecord,java.lang.String> PARSER
-
-
Constructor Details
-
SnapshotInvocationRecord
public SnapshotInvocationRecord(java.lang.String snapshotName, long timestamp, java.lang.String details)
-
-
Method Details
-
parse
public static SnapshotInvocationRecord parse(org.elasticsearch.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.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceorg.elasticsearch.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
-