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 boolean
equals(java.lang.Object o)
java.lang.String
getDetails()
java.lang.String
getSnapshotName()
long
getTimestamp()
int
hashCode()
static SnapshotInvocationRecord
parse(org.elasticsearch.common.xcontent.XContentParser parser, java.lang.String name)
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(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:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- 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
-