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 DeleteJobRequestbuild()Builds aDeleteJobRequest.DeleteJobRequest.Builderforce(java.lang.Boolean value)True if the job should be forcefully deletedDeleteJobRequest.BuilderjobId(java.lang.String value)Required - The ID of the job to deleteDeleteJobRequest.BuilderwaitForCompletion(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
Required - 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:
buildin interfaceObjectBuilder<DeleteJobRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-