Class TrainedModelConfig.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ml.TrainedModelConfig.AbstractBuilder<TrainedModelConfig.Builder>
co.elastic.clients.elasticsearch.ml.TrainedModelConfig.Builder
- All Implemented Interfaces:
WithJson<TrainedModelConfig.Builder>,ObjectBuilder<TrainedModelConfig>
- Enclosing class:
- TrainedModelConfig
public static class TrainedModelConfig.Builder extends TrainedModelConfig.AbstractBuilder<TrainedModelConfig.Builder> implements ObjectBuilder<TrainedModelConfig>
Builder for
TrainedModelConfig.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TrainedModelConfigbuild()Builds aTrainedModelConfig.protected TrainedModelConfig.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.ml.TrainedModelConfig.AbstractBuilder
compressedDefinition, createdBy, createTime, createTime, defaultFieldMap, defaultFieldMap, description, estimatedHeapMemoryUsageBytes, estimatedOperations, inferenceConfig, inferenceConfig, input, input, licenseLevel, location, location, metadata, metadata, modelId, modelSizeBytes, modelType, tags, tags, versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
self
- Specified by:
selfin classTrainedModelConfig.AbstractBuilder<TrainedModelConfig.Builder>
-
build
Builds aTrainedModelConfig.- Specified by:
buildin interfaceObjectBuilder<TrainedModelConfig>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-