Module org.elasticsearch.xcore
Class GetJobModelSnapshotsUpgradeStatsAction.Response.JobModelSnapshotUpgradeStats
java.lang.Object
org.elasticsearch.xpack.core.ml.action.GetJobModelSnapshotsUpgradeStatsAction.Response.JobModelSnapshotUpgradeStats
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
GetJobModelSnapshotsUpgradeStatsAction.Response
public static class GetJobModelSnapshotsUpgradeStatsAction.Response.JobModelSnapshotUpgradeStats
extends Object
implements ToXContentObject, Writeable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionJobModelSnapshotUpgradeStats(String jobId, String snapshotId, SnapshotUpgradeState upgradeState, DiscoveryNode node, String assignmentExplanation) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetJobId()getNode()inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
JobModelSnapshotUpgradeStats
public JobModelSnapshotUpgradeStats(String jobId, String snapshotId, SnapshotUpgradeState upgradeState, @Nullable DiscoveryNode node, @Nullable String assignmentExplanation)
-
-
Method Details
-
getJobId
-
getSnapshotId
-
getUpgradeState
-
getNode
-
getAssignmentExplanation
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
builder
public static GetJobModelSnapshotsUpgradeStatsAction.Response.JobModelSnapshotUpgradeStats.Builder builder(String jobId, String snapshotId)
-