Class UpgradeJobSnapshotResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.UpgradeJobSnapshotResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class UpgradeJobSnapshotResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpgradeJobSnapshotResponse.Builder
Builder forUpgradeJobSnapshotResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UpgradeJobSnapshotResponse>
_DESERIALIZER
Json deserializer forUpgradeJobSnapshotResponse
-
Method Summary
Modifier and Type Method Description boolean
completed()
Required - When true, this means the task is complete.java.lang.String
node()
Required - The ID of the assigned node for the upgrade task if it is still running.static UpgradeJobSnapshotResponse
of(java.util.function.Function<UpgradeJobSnapshotResponse.Builder,ObjectBuilder<UpgradeJobSnapshotResponse>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupUpgradeJobSnapshotResponseDeserializer(ObjectDeserializer<UpgradeJobSnapshotResponse.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forUpgradeJobSnapshotResponse
-
-
Method Details
-
of
public static UpgradeJobSnapshotResponse of(java.util.function.Function<UpgradeJobSnapshotResponse.Builder,ObjectBuilder<UpgradeJobSnapshotResponse>> fn) -
node
public final java.lang.String node()Required - The ID of the assigned node for the upgrade task if it is still running.API name:
node
-
completed
public final boolean completed()Required - When true, this means the task is complete. When false, it is still running.API name:
completed
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupUpgradeJobSnapshotResponseDeserializer
protected static void setupUpgradeJobSnapshotResponseDeserializer(ObjectDeserializer<UpgradeJobSnapshotResponse.Builder> op)
-