Class DeleteJobRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.DeleteJobRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteJobRequest>
- Enclosing class:
- DeleteJobRequest
public static class DeleteJobRequest.Builder extends java.lang.Object implements ObjectBuilder<DeleteJobRequest>
Builder for
DeleteJobRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DeleteJobRequest
build()
Builds aDeleteJobRequest
.DeleteJobRequest.Builder
force(java.lang.Boolean value)
True if the job should be forcefully deletedDeleteJobRequest.Builder
jobId(java.lang.String value)
The ID of the job to deleteDeleteJobRequest.Builder
waitForCompletion(java.lang.Boolean value)
Should this request wait until the operation has completed before returningMethods 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
The ID of the job to deleteAPI name:
job_id
-
force
True if the job should be forcefully deletedAPI name:
force
-
waitForCompletion
Should this request wait until the operation has completed before returningAPI name:
wait_for_completion
-
build
Builds aDeleteJobRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteJobRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-