Class StopTrainedModelDeploymentRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.StopTrainedModelDeploymentRequest
Stops a trained model deployment.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<StopTrainedModelDeploymentRequest,
StopTrainedModelDeploymentResponse, ErrorResponse> Endpoint "ml.stop_trained_model_deployment
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Specifies what to do when the request: contains wildcard expressions and there are no deployments that match; contains the_all
string or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches.final Boolean
force()
Forcefully stops the deployment, even if it is used by ingest pipelines.final String
modelId()
Required - The unique identifier of the trained model.of
(Function<StopTrainedModelDeploymentRequest.Builder, ObjectBuilder<StopTrainedModelDeploymentRequest>> fn) Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<StopTrainedModelDeploymentRequest,StopTrainedModelDeploymentResponse, _ENDPOINTErrorResponse> Endpoint "ml.stop_trained_model_deployment
".
-
-
Method Details
-
of
-
allowNoMatch
Specifies what to do when the request: contains wildcard expressions and there are no deployments that match; contains the_all
string or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches. Iffalse
, the request returns a 404 status code when there are no matches or only partial matches.API name:
allow_no_match
-
force
Forcefully stops the deployment, even if it is used by ingest pipelines. You can't use these pipelines until you restart the model deployment.API name:
force
-
modelId
Required - The unique identifier of the trained model.API name:
model_id
-