Class DeleteTrainedModelRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.DeleteTrainedModelRequest
Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
- 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 TypeFieldDescriptionEndpoint "ml.delete_trained_model
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
force()
Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.final String
modelId()
Required - The unique identifier of the trained model.static DeleteTrainedModelRequest
final Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteTrainedModelRequest,DeleteTrainedModelResponse, _ENDPOINTErrorResponse> Endpoint "ml.delete_trained_model
".
-
-
Method Details
-
of
public static DeleteTrainedModelRequest of(Function<DeleteTrainedModelRequest.Builder, ObjectBuilder<DeleteTrainedModelRequest>> fn) -
force
Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.API name:
force
-
modelId
Required - The unique identifier of the trained model.API name:
model_id
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-