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
Returns configuration and usage information about inference trained models.
IMPORTANT: cat APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMlTrainedModelsRequest.BuilderBuilder 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>_ENDPOINTEndpoint "cat.ml_trained_models". -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowNoMatch()Whether to ignore if a wildcard expression matches no trained models.Bytesbytes()The unit in which to display byte valuesjava.lang.Integerfrom()skips a number of trained modelsjava.lang.StringmodelId()The ID of the trained models stats to fetchstatic MlTrainedModelsRequestof(java.util.function.Function<MlTrainedModelsRequest.Builder,ObjectBuilder<MlTrainedModelsRequest>> fn)java.lang.Integersize()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_allstring 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
-