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 classUpgradeJobSnapshotResponse.BuilderBuilder forUpgradeJobSnapshotResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UpgradeJobSnapshotResponse>_DESERIALIZERJson deserializer forUpgradeJobSnapshotResponse -
Method Summary
Modifier and Type Method Description booleancompleted()Required - When true, this means the task is complete.java.lang.Stringnode()Required - The ID of the assigned node for the upgrade task if it is still running.static UpgradeJobSnapshotResponseof(java.util.function.Function<UpgradeJobSnapshotResponse.Builder,ObjectBuilder<UpgradeJobSnapshotResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupUpgradeJobSnapshotResponseDeserializer(ObjectDeserializer<UpgradeJobSnapshotResponse.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupUpgradeJobSnapshotResponseDeserializer
protected static void setupUpgradeJobSnapshotResponseDeserializer(ObjectDeserializer<UpgradeJobSnapshotResponse.Builder> op)
-