Class TrainedModelLocation
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelLocation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TrainedModelLocation extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainedModelLocation.BuilderBuilder forTrainedModelLocation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelLocation>_DESERIALIZERJson deserializer forTrainedModelLocation -
Method Summary
Modifier and Type Method Description TrainedModelLocationIndexindex()Required - API name:indexstatic TrainedModelLocationof(java.util.function.Function<TrainedModelLocation.Builder,ObjectBuilder<TrainedModelLocation>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTrainedModelLocationDeserializer(ObjectDeserializer<TrainedModelLocation.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelLocation
-
-
Method Details
-
of
public static TrainedModelLocation of(java.util.function.Function<TrainedModelLocation.Builder,ObjectBuilder<TrainedModelLocation>> fn) -
index
Required - API name:index -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTrainedModelLocationDeserializer
protected static void setupTrainedModelLocationDeserializer(ObjectDeserializer<TrainedModelLocation.Builder> op)
-