Class StartTrainedModelDeploymentResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.StartTrainedModelDeploymentResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class StartTrainedModelDeploymentResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartTrainedModelDeploymentResponse.BuilderBuilder forStartTrainedModelDeploymentResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StartTrainedModelDeploymentResponse>_DESERIALIZERJson deserializer forStartTrainedModelDeploymentResponse -
Method Summary
Modifier and Type Method Description TrainedModelAllocationallocation()Required - API name:allocationstatic StartTrainedModelDeploymentResponseof(java.util.function.Function<StartTrainedModelDeploymentResponse.Builder,ObjectBuilder<StartTrainedModelDeploymentResponse>> 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 voidsetupStartTrainedModelDeploymentResponseDeserializer(ObjectDeserializer<StartTrainedModelDeploymentResponse.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 forStartTrainedModelDeploymentResponse
-
-
Method Details
-
of
public static StartTrainedModelDeploymentResponse of(java.util.function.Function<StartTrainedModelDeploymentResponse.Builder,ObjectBuilder<StartTrainedModelDeploymentResponse>> fn) -
allocation
Required - API name:allocation -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupStartTrainedModelDeploymentResponseDeserializer
protected static void setupStartTrainedModelDeploymentResponseDeserializer(ObjectDeserializer<StartTrainedModelDeploymentResponse.Builder> op)
-