Class DeleteInferenceRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.inference.DeleteInferenceRequest
Delete an inference endpoint
- 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, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned.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 DeleteInferenceRequestfinal 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, 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
-