Class Definition
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.Definition
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Definition extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefinition.BuilderBuilder forDefinition. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Definition>_DESERIALIZERJson deserializer forDefinition -
Constructor Summary
Constructors Constructor Description Definition(Definition.Builder builder)Definition(java.util.function.Function<Definition.Builder,Definition.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.List<Preprocessor>preprocessors()Collection of preprocessorsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDefinitionDeserializer(DelegatingDeserializer<Definition.Builder> op)TrainedModeltrainedModel()The definition of the trained model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDefinition
-
-
Constructor Details
-
Definition
-
Definition
-
-
Method Details
-
preprocessors
Collection of preprocessorsAPI name:
preprocessors -
trainedModel
The definition of the trained model.API name:
trained_model -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDefinitionDeserializer
-