Class InferenceConfigRegression
java.lang.Object
co.elastic.clients.elasticsearch.ingest.InferenceConfigRegression
- All Implemented Interfaces:
InferenceConfigVariant,JsonpSerializable
@JsonpDeserializable public class InferenceConfigRegression extends java.lang.Object implements InferenceConfigVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInferenceConfigRegression.BuilderBuilder forInferenceConfigRegression. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<InferenceConfigRegression>_DESERIALIZERJson deserializer forInferenceConfigRegression -
Method Summary
Modifier and Type Method Description InferenceConfig.Kind_inferenceConfigKind()InferenceConfig variant kind.java.lang.IntegernumTopFeatureImportanceValues()API name:num_top_feature_importance_valuesstatic InferenceConfigRegressionof(java.util.function.Function<InferenceConfigRegression.Builder,ObjectBuilder<InferenceConfigRegression>> fn)java.lang.StringresultsField()API name:results_fieldvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupInferenceConfigRegressionDeserializer(ObjectDeserializer<InferenceConfigRegression.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.InferenceConfigVariant
_toInferenceConfig
-
Field Details
-
_DESERIALIZER
Json deserializer forInferenceConfigRegression
-
-
Method Details
-
of
public static InferenceConfigRegression of(java.util.function.Function<InferenceConfigRegression.Builder,ObjectBuilder<InferenceConfigRegression>> fn) -
_inferenceConfigKind
InferenceConfig variant kind.- Specified by:
_inferenceConfigKindin interfaceInferenceConfigVariant
-
resultsField
@Nullable public final java.lang.String resultsField()API name:results_field -
numTopFeatureImportanceValues
@Nullable public final java.lang.Integer numTopFeatureImportanceValues()API name:num_top_feature_importance_values -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupInferenceConfigRegressionDeserializer
protected static void setupInferenceConfigRegressionDeserializer(ObjectDeserializer<InferenceConfigRegression.Builder> op)
-