Class DeleteInferenceRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.inference.DeleteInferenceRequest
Delete an inference endpoint.
This API requires the manage_inference cluster privilege (the built-in
inference_admin role grants this privilege).
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeleteInferenceRequest,DeleteInferenceResponse, ErrorResponse> Endpoint "inference.delete". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleandryRun()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.final Booleanforce()When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields.final StringRequired - The inference identifier.static DeleteInferenceRequestrebuild()final TaskTypetaskType()The task typeMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteInferenceRequest,DeleteInferenceResponse, _ENDPOINTErrorResponse> Endpoint "inference.delete".
-
-
Method Details
-
of
public static DeleteInferenceRequest of(Function<DeleteInferenceRequest.Builder, ObjectBuilder<DeleteInferenceRequest>> fn) -
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 -
rebuild
- Returns:
- New
DeleteInferenceRequest.Builderinitialized with field values of this instance
-