Class DeleteDataFrameAnalyticsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteDataFrameAnalyticsRequest.Builder>
co.elastic.clients.elasticsearch.ml.DeleteDataFrameAnalyticsRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteDataFrameAnalyticsRequest.Builder>
,ObjectBuilder<DeleteDataFrameAnalyticsRequest>
- Enclosing class:
- DeleteDataFrameAnalyticsRequest
public static class DeleteDataFrameAnalyticsRequest.Builder
extends RequestBase.AbstractBuilder<DeleteDataFrameAnalyticsRequest.Builder>
implements ObjectBuilder<DeleteDataFrameAnalyticsRequest>
Builder for
DeleteDataFrameAnalyticsRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteDataFrameAnalyticsRequest
.Iftrue
, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.Required - Identifier for the data frame analytics job.protected DeleteDataFrameAnalyticsRequest.Builder
self()
The time to wait for the job to be deleted.The time to wait for the job to be deleted.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
force
Iftrue
, it deletes a job that is not stopped; this method is quicker than stopping and deleting the job.API name:
force
-
id
Required - Identifier for the data frame analytics job.API name:
id
-
timeout
The time to wait for the job to be deleted.API name:
timeout
-
timeout
public final DeleteDataFrameAnalyticsRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The time to wait for the job to be deleted.API name:
timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteDataFrameAnalyticsRequest.Builder>
-
build
Builds aDeleteDataFrameAnalyticsRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteDataFrameAnalyticsRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-