Class ModelSnapshot
java.lang.Object
co.elastic.clients.elasticsearch.ml.ModelSnapshot
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ModelSnapshot>Json deserializer forModelSnapshot -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAn optional description of the job.final StringjobId()Required - A numerical character string that uniquely identifies the job that the snapshot was created for.final IntegerThe timestamp of the latest processed record.final IntegerThe timestamp of the latest bucket result.final StringRequired - The minimum version required to be able to restore the model snapshot.final ModelSizeStatsSummary information describing the model.static ModelSnapshotfinal booleanretain()Required - If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - For internal use only.final StringRequired - A numerical character string that uniquely identifies the model snapshot.final longRequired - The creation timestamp for the snapshot.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forModelSnapshot
-
-
Method Details
-
of
-
description
An optional description of the job.API name:
description -
jobId
Required - A numerical character string that uniquely identifies the job that the snapshot was created for.API name:
job_id -
latestRecordTimeStamp
The timestamp of the latest processed record.API name:
latest_record_time_stamp -
latestResultTimeStamp
The timestamp of the latest bucket result.API name:
latest_result_time_stamp -
minVersion
Required - The minimum version required to be able to restore the model snapshot.API name:
min_version -
modelSizeStats
Summary information describing the model.API name:
model_size_stats -
retain
public final boolean retain()Required - If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.API name:
retain -
snapshotDocCount
public final long snapshotDocCount()Required - For internal use only.API name:
snapshot_doc_count -
snapshotId
Required - A numerical character string that uniquely identifies the model snapshot.API name:
snapshot_id -
timestamp
public final long timestamp()Required - The creation timestamp for the snapshot.API name:
timestamp -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupModelSnapshotDeserializer
-