Class Definition
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.Definition
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Definition extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description static Definitionof(java.util.function.Function<Definition.Builder,ObjectBuilder<Definition>> fn)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(ObjectDeserializer<Definition.Builder> op)java.lang.StringtoString()TrainedModeltrainedModel()Required - The definition of the trained model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDefinition
-
-
Method Details
-
of
public static Definition of(java.util.function.Function<Definition.Builder,ObjectBuilder<Definition>> fn) -
preprocessors
Collection of preprocessorsAPI name:
preprocessors -
trainedModel
Required - The definition of the trained model.API name:
trained_model -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDefinitionDeserializer
-