Class DeleteInferenceRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteInferenceRequest.Builder>
co.elastic.clients.elasticsearch.inference.DeleteInferenceRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteInferenceRequest.Builder>
,ObjectBuilder<DeleteInferenceRequest>
- Enclosing class:
- DeleteInferenceRequest
public static class DeleteInferenceRequest.Builder
extends RequestBase.AbstractBuilder<DeleteInferenceRequest.Builder>
implements ObjectBuilder<DeleteInferenceRequest>
Builder for
DeleteInferenceRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteInferenceRequest
.When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields.inferenceId
(String value) Required - The inference identifier.protected DeleteInferenceRequest.Builder
self()
The task typeMethods 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
-
dryRun
When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.API name:
dry_run
-
force
When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields.API name:
force
-
inferenceId
Required - The inference identifier.API name:
inference_id
-
taskType
The task typeAPI name:
task_type
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteInferenceRequest.Builder>
-
build
Builds aDeleteInferenceRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteInferenceRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-