Class MlInferenceTrainedModelsCount.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MlInferenceTrainedModelsCount.Builder>
co.elastic.clients.elasticsearch.xpack.usage.MlInferenceTrainedModelsCount.Builder
- All Implemented Interfaces:
WithJson<MlInferenceTrainedModelsCount.Builder>,ObjectBuilder<MlInferenceTrainedModelsCount>
- Enclosing class:
- MlInferenceTrainedModelsCount
public static class MlInferenceTrainedModelsCount.Builder
extends WithJsonObjectBuilderBase<MlInferenceTrainedModelsCount.Builder>
implements ObjectBuilder<MlInferenceTrainedModelsCount>
Builder for
MlInferenceTrainedModelsCount.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMlInferenceTrainedModelsCount.classification(Long value) API name:classificationAPI name:nerother(long value) Required - API name:otherpassThrough(Long value) API name:pass_throughprepackaged(long value) Required - API name:prepackagedregression(Long value) API name:regressionprotected MlInferenceTrainedModelsCount.Builderself()textEmbedding(Long value) API name:text_embeddingtotal(long value) Required - API name:totalMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
total
Required - API name:total -
prepackaged
Required - API name:prepackaged -
other
Required - API name:other -
passThrough
API name:pass_through -
regression
API name:regression -
classification
API name:classification -
ner
API name:ner -
textEmbedding
API name:text_embedding -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<MlInferenceTrainedModelsCount.Builder>
-
build
Builds aMlInferenceTrainedModelsCount.- Specified by:
buildin interfaceObjectBuilder<MlInferenceTrainedModelsCount>- Throws:
NullPointerException- if some of the required fields are null.
-