Class TrainedModelAllocationRoutingTable
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelAllocationRoutingTable
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TrainedModelAllocationRoutingTable extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainedModelAllocationRoutingTable.BuilderBuilder forTrainedModelAllocationRoutingTable. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelAllocationRoutingTable>_DESERIALIZERJson deserializer forTrainedModelAllocationRoutingTable -
Method Summary
Modifier and Type Method Description static TrainedModelAllocationRoutingTableof(java.util.function.Function<TrainedModelAllocationRoutingTable.Builder,ObjectBuilder<TrainedModelAllocationRoutingTable>> fn)java.lang.Stringreason()Required - The reason for the current state.RoutingStateroutingState()Required - The current routing state.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTrainedModelAllocationRoutingTableDeserializer(ObjectDeserializer<TrainedModelAllocationRoutingTable.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 forTrainedModelAllocationRoutingTable
-
-
Method Details
-
of
public static TrainedModelAllocationRoutingTable of(java.util.function.Function<TrainedModelAllocationRoutingTable.Builder,ObjectBuilder<TrainedModelAllocationRoutingTable>> fn) -
reason
public final java.lang.String reason()Required - The reason for the current state. It is usually populated only when therouting_stateisfailed.API name:
reason -
routingState
Required - The current routing state.API name:
routing_state -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTrainedModelAllocationRoutingTableDeserializer
protected static void setupTrainedModelAllocationRoutingTableDeserializer(ObjectDeserializer<TrainedModelAllocationRoutingTable.Builder> op)
-