Class ResetJobRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.ResetJobRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ResetJobRequest>
- Enclosing class:
- ResetJobRequest
public static class ResetJobRequest.Builder extends java.lang.Object implements ObjectBuilder<ResetJobRequest>
Builder for
ResetJobRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ResetJobRequest
build()
Builds aResetJobRequest
.ResetJobRequest.Builder
jobId(java.lang.String value)
Required - The ID of the job to reset.ResetJobRequest.Builder
waitForCompletion(java.lang.Boolean value)
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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
build
Builds aResetJobRequest
.- Specified by:
build
in interfaceObjectBuilder<ResetJobRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-