Class DeleteJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.DeleteJobRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class DeleteJobRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteJobRequest.Builder
Builder forDeleteJobRequest
.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<DeleteJobRequest,DeleteJobResponse,ElasticsearchError>
ENDPOINT
Endpoint "ml.delete_job
". -
Constructor Summary
Constructors Constructor Description DeleteJobRequest(DeleteJobRequest.Builder builder)
DeleteJobRequest(java.util.function.Function<DeleteJobRequest.Builder,DeleteJobRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
force()
True if the job should be forcefully deletedjava.lang.String
jobId()
Required - The ID of the job to deletejava.lang.Boolean
waitForCompletion()
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
-
Field Details
-
ENDPOINT
Endpoint "ml.delete_job
".
-
-
Constructor Details
-
DeleteJobRequest
-
DeleteJobRequest
public DeleteJobRequest(java.util.function.Function<DeleteJobRequest.Builder,DeleteJobRequest.Builder> fn)
-
-
Method Details
-
jobId
public java.lang.String jobId()Required - The ID of the job to deleteAPI name:
job_id
-
force
@Nullable public java.lang.Boolean force()True if the job should be forcefully deletedAPI name:
force
-
waitForCompletion
@Nullable public java.lang.Boolean waitForCompletion()Should this request wait until the operation has completed before returningAPI name:
wait_for_completion
-