Class ResetJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.ResetJobRequest
Reset 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 SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<ResetJobRequest,ResetJobResponse, ErrorResponse> Endpoint "ml.reset_job".
- 
Method SummaryModifier and TypeMethodDescriptionfinal BooleanSpecifies whether annotations that have been added by the user should be deleted along with any auto-generated annotations when the job is reset.final StringjobId()Required - The ID of the job to reset.static ResetJobRequestfinal BooleanShould this request wait until the operation has completed before returning.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTEndpoint "ml.reset_job".
 
- 
- 
Method Details- 
ofpublic static ResetJobRequest of(Function<ResetJobRequest.Builder, ObjectBuilder<ResetJobRequest>> fn) 
- 
deleteUserAnnotationsSpecifies 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
- 
jobIdRequired - The ID of the job to reset.API name: job_id
- 
waitForCompletionShould this request wait until the operation has completed before returning.API name: wait_for_completion
 
-