Class ResetJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.ResetJobRequest
public class ResetJobRequest extends RequestBase
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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResetJobRequest.Builder
Builder forResetJobRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<ResetJobRequest,ResetJobResponse,ErrorResponse>
_ENDPOINT
Endpoint "ml.reset_job
". -
Method Summary
Modifier and Type Method Description java.lang.String
jobId()
Required - The ID of the job to reset.static ResetJobRequest
of(java.util.function.Function<ResetJobRequest.Builder,ObjectBuilder<ResetJobRequest>> fn)
java.lang.Boolean
waitForCompletion()
Should this request wait until the operation has completed before returning.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "ml.reset_job
".
-
-
Method Details
-
of
public static ResetJobRequest of(java.util.function.Function<ResetJobRequest.Builder,ObjectBuilder<ResetJobRequest>> fn) -
jobId
public final java.lang.String jobId()Required - The ID of the job to reset.API name:
job_id
-
waitForCompletion
@Nullable public final java.lang.Boolean waitForCompletion()Should this request wait until the operation has completed before returning.API name:
wait_for_completion
-