Class MlInferenceTrainedModelsCount.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.usage.MlInferenceTrainedModelsCount.Builder
- All Implemented Interfaces:
ObjectBuilder<MlInferenceTrainedModelsCount>
- Enclosing class:
- MlInferenceTrainedModelsCount
public static class MlInferenceTrainedModelsCount.Builder extends ObjectBuilderBase implements ObjectBuilder<MlInferenceTrainedModelsCount>
Builder for
MlInferenceTrainedModelsCount.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description MlInferenceTrainedModelsCountbuild()Builds aMlInferenceTrainedModelsCount.MlInferenceTrainedModelsCount.Builderclassification(java.lang.Long value)API name:classificationMlInferenceTrainedModelsCount.Builderner(java.lang.Long value)API name:nerMlInferenceTrainedModelsCount.Builderother(long value)Required - API name:otherMlInferenceTrainedModelsCount.Builderprepackaged(long value)Required - API name:prepackagedMlInferenceTrainedModelsCount.Builderregression(java.lang.Long value)API name:regressionMlInferenceTrainedModelsCount.Buildertotal(long value)Required - API name:totalMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
total
Required - API name:total -
prepackaged
Required - API name:prepackaged -
other
Required - API name:other -
regression
API name:regression -
classification
API name:classification -
ner
API name:ner -
build
Builds aMlInferenceTrainedModelsCount.- Specified by:
buildin interfaceObjectBuilder<MlInferenceTrainedModelsCount>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-