Class MlTrainedModelsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.MlTrainedModelsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<MlTrainedModelsRequest>
- Enclosing class:
- MlTrainedModelsRequest
public static class MlTrainedModelsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<MlTrainedModelsRequest>
Builder for
MlTrainedModelsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description MlTrainedModelsRequest.Builder
allowNoMatch(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no trained models.MlTrainedModelsRequest
build()
Builds aMlTrainedModelsRequest
.MlTrainedModelsRequest.Builder
bytes(Bytes value)
The unit in which to display byte valuesMlTrainedModelsRequest.Builder
from(java.lang.Integer value)
skips a number of trained modelsMlTrainedModelsRequest.Builder
modelId(java.lang.String value)
The ID of the trained models stats to fetchMlTrainedModelsRequest.Builder
size(java.lang.Integer value)
specifies a max number of trained models to getMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
skips a number of trained modelsAPI name:
from
-
modelId
The ID of the trained models stats to fetchAPI name:
model_id
-
size
specifies a max number of trained models to getAPI name:
size
-
build
Builds aMlTrainedModelsRequest
.- Specified by:
build
in interfaceObjectBuilder<MlTrainedModelsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-