Class TrainedModelAllocation
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelAllocation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TrainedModelAllocation extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainedModelAllocation.BuilderBuilder forTrainedModelAllocation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelAllocation>_DESERIALIZERJson deserializer forTrainedModelAllocation -
Method Summary
Modifier and Type Method Description DeploymentStateallocationState()Required - The overall allocation state.static TrainedModelAllocationof(java.util.function.Function<TrainedModelAllocation.Builder,ObjectBuilder<TrainedModelAllocation>> fn)java.util.Map<java.lang.String,TrainedModelAllocationRoutingTable>routingTable()Required - The allocation state for each node.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTrainedModelAllocationDeserializer(ObjectDeserializer<TrainedModelAllocation.Builder> op)DateTimestartTime()Required - The timestamp when the deployment started.TrainedModelAllocationTaskParameterstaskParameters()Required - API name:task_parametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelAllocation
-
-
Method Details
-
of
public static TrainedModelAllocation of(java.util.function.Function<TrainedModelAllocation.Builder,ObjectBuilder<TrainedModelAllocation>> fn) -
allocationState
Required - The overall allocation state.API name:
allocation_state -
routingTable
Required - The allocation state for each node.API name:
routing_table -
startTime
Required - The timestamp when the deployment started.API name:
start_time -
taskParameters
Required - API name:task_parameters -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTrainedModelAllocationDeserializer
protected static void setupTrainedModelAllocationDeserializer(ObjectDeserializer<TrainedModelAllocation.Builder> op)
-