Class DeleteModelSnapshotRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.DeleteModelSnapshotRequest
Deletes an existing model snapshot. You cannot delete the active model
snapshot. To delete that snapshot, first revert to a different one. To
identify the active model snapshot, refer to the
model_snapshot_id
in the results from the get jobs API.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionEndpoint "ml.delete_model_snapshot
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
jobId()
Required - Identifier for the anomaly detection job.static DeleteModelSnapshotRequest
final String
Required - Identifier for the model snapshot.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteModelSnapshotRequest,DeleteModelSnapshotResponse, _ENDPOINTErrorResponse> Endpoint "ml.delete_model_snapshot
".
-
-
Method Details
-
of
public static DeleteModelSnapshotRequest of(Function<DeleteModelSnapshotRequest.Builder, ObjectBuilder<DeleteModelSnapshotRequest>> fn) -
jobId
Required - Identifier for the anomaly detection job.API name:
job_id
-
snapshotId
Required - Identifier for the model snapshot.API name:
snapshot_id
-