Class ResetJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.ResetJobRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class ResetJobRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResetJobRequest.BuilderBuilder 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,ElasticsearchError>ENDPOINTEndpoint "ml.reset_job". -
Constructor Summary
Constructors Constructor Description ResetJobRequest(ResetJobRequest.Builder builder)ResetJobRequest(java.util.function.Function<ResetJobRequest.Builder,ResetJobRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.StringjobId()Required - The ID of the job to reset.java.lang.BooleanwaitForCompletion()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".
-
-
Constructor Details
-
ResetJobRequest
-
ResetJobRequest
public ResetJobRequest(java.util.function.Function<ResetJobRequest.Builder,ResetJobRequest.Builder> fn)
-
-
Method Details
-
jobId
public java.lang.String jobId()Required - The ID of the job to reset.API name:
job_id -
waitForCompletion
@Nullable public java.lang.Boolean waitForCompletion()Should this request wait until the operation has completed before returning.API name:
wait_for_completion
-