Class ResetJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.ResetJobRequest
Resets an anomaly detection job. All model state and results are deleted. The
job is ready to start over as if it had just been created. It is not
currently possible to reset multiple jobs using wildcards or a comma
separated list.
- 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 TypeFieldDescriptionstatic final Endpoint<ResetJobRequest,
ResetJobResponse, ErrorResponse> Endpoint "ml.reset_job
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Specifies whether annotations that have been added by the user should be deleted along with any auto-generated annotations when the job is reset.final String
jobId()
Required - The ID of the job to reset.static ResetJobRequest
final Boolean
Should this request wait until the operation has completed before returning.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "ml.reset_job
".
-
-
Method Details
-
of
public static ResetJobRequest of(Function<ResetJobRequest.Builder, ObjectBuilder<ResetJobRequest>> fn) -
deleteUserAnnotations
Specifies whether annotations that have been added by the user should be deleted along with any auto-generated annotations when the job is reset.API name:
delete_user_annotations
-
jobId
Required - The ID of the job to reset.API name:
job_id
-
waitForCompletion
Should this request wait until the operation has completed before returning.API name:
wait_for_completion
-