Class MlTrainedModelsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.MlTrainedModelsRequest
public class MlTrainedModelsRequest extends CatRequestBase
Gets configuration and usage information about inference trained models.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MlTrainedModelsRequest.Builder
Builder forMlTrainedModelsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<MlTrainedModelsRequest,MlTrainedModelsResponse,ErrorResponse>
_ENDPOINT
Endpoint "cat.ml_trained_models
". -
Method Summary
Modifier and Type Method Description java.lang.Boolean
allowNoMatch()
Whether to ignore if a wildcard expression matches no trained models.Bytes
bytes()
The unit in which to display byte valuesjava.lang.Integer
from()
skips a number of trained modelsjava.lang.String
modelId()
The ID of the trained models stats to fetchstatic MlTrainedModelsRequest
of(java.util.function.Function<MlTrainedModelsRequest.Builder,ObjectBuilder<MlTrainedModelsRequest>> fn)
java.lang.Integer
size()
specifies a max number of trained models to getMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<MlTrainedModelsRequest,MlTrainedModelsResponse,ErrorResponse> _ENDPOINTEndpoint "cat.ml_trained_models
".
-
-
Method Details
-
of
public static MlTrainedModelsRequest of(java.util.function.Function<MlTrainedModelsRequest.Builder,ObjectBuilder<MlTrainedModelsRequest>> fn) -
allowNoMatch
@Nullable public final java.lang.Boolean allowNoMatch()Whether to ignore if a wildcard expression matches no trained models. (This includes_all
string or when no trained models have been specified)API name:
allow_no_match
-
bytes
The unit in which to display byte valuesAPI name:
bytes
-
from
@Nullable public final java.lang.Integer from()skips a number of trained modelsAPI name:
from
-
modelId
@Nullable public final java.lang.String modelId()The ID of the trained models stats to fetchAPI name:
model_id
-
size
@Nullable public final java.lang.Integer size()specifies a max number of trained models to getAPI name:
size
-