Class TrainedModelAssignment
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelAssignment
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class TrainedModelAssignment
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelAssignment>
Json deserializer forTrainedModelAssignment
-
Method Summary
Modifier and TypeMethodDescriptionRequired - The overall assignment state.final Integer
API name:max_assigned_allocations
static TrainedModelAssignment
Required - The allocation state for each node.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final DateTime
Required - The timestamp when the deployment started.Required - API name:task_parameters
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelAssignment
-
-
Method Details
-
of
public static TrainedModelAssignment of(Function<TrainedModelAssignment.Builder, ObjectBuilder<TrainedModelAssignment>> fn) -
assignmentState
Required - The overall assignment state.API name:
assignment_state
-
maxAssignedAllocations
API name:max_assigned_allocations
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelAssignmentDeserializer
protected static void setupTrainedModelAssignmentDeserializer(ObjectDeserializer<TrainedModelAssignment.Builder> op)
-