Class GetTrainedModelsStatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetTrainedModelsStatsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class GetTrainedModelsStatsRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetTrainedModelsStatsRequest.Builder
Builder forGetTrainedModelsStatsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetTrainedModelsStatsRequest,GetTrainedModelsStatsResponse,ElasticsearchError>
ENDPOINT
Endpoint "ml.get_trained_models_stats
". -
Constructor Summary
Constructors Constructor Description GetTrainedModelsStatsRequest(GetTrainedModelsStatsRequest.Builder builder)
GetTrainedModelsStatsRequest(java.util.function.Function<GetTrainedModelsStatsRequest.Builder,GetTrainedModelsStatsRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
allowNoMatch()
Specifies what to do when the request: Contains wildcard expressions and there are no models that match. Contains the _all string or no identifiers and there are no matches. Contains wildcard expressions and there are only partial matches.java.lang.Integer
from()
Skips the specified number of models.java.lang.String
modelId()
The unique identifier of the trained model.java.lang.Integer
size()
Specifies the maximum number of models to obtain.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<GetTrainedModelsStatsRequest,GetTrainedModelsStatsResponse,ElasticsearchError> ENDPOINTEndpoint "ml.get_trained_models_stats
".
-
-
Constructor Details
-
GetTrainedModelsStatsRequest
-
GetTrainedModelsStatsRequest
public GetTrainedModelsStatsRequest(java.util.function.Function<GetTrainedModelsStatsRequest.Builder,GetTrainedModelsStatsRequest.Builder> fn)
-
-
Method Details
-
modelId
@Nullable public java.lang.String modelId()The unique identifier of the trained model.API name:
model_id
-
allowNoMatch
@Nullable public java.lang.Boolean allowNoMatch()Specifies what to do when the request:- Contains wildcard expressions and there are no models that match.
- Contains the _all string or no identifiers and there are no matches.
- Contains wildcard expressions and there are only partial matches.
API name:
allow_no_match
-
from
@Nullable public java.lang.Integer from()Skips the specified number of models.API name:
from
-
size
@Nullable public java.lang.Integer size()Specifies the maximum number of models to obtain.API name:
size
-