Class DeleteJobRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteJobRequest.Builder>
co.elastic.clients.elasticsearch.rollup.DeleteJobRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteJobRequest.Builder>
,ObjectBuilder<DeleteJobRequest>
- Enclosing class:
- DeleteJobRequest
public static class DeleteJobRequest.Builder
extends RequestBase.AbstractBuilder<DeleteJobRequest.Builder>
implements ObjectBuilder<DeleteJobRequest>
Builder for
DeleteJobRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteJobRequest
.final DeleteJobRequest.Builder
Required - Identifier for the job.protected DeleteJobRequest.Builder
self()
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
-
id
Required - Identifier for the job.API name:
id
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteJobRequest.Builder>
-
build
Builds aDeleteJobRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteJobRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-