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, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint.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.Builderself()The task typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dryRun
When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint.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:
selfin classRequestBase.AbstractBuilder<DeleteInferenceRequest.Builder>
-
build
Builds aDeleteInferenceRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteInferenceRequest>- Throws:
NullPointerException- if some of the required fields are null.
-