Class AmazonSageMakerTaskSettings
java.lang.Object
co.elastic.clients.elasticsearch.inference.AmazonSageMakerTaskSettings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class AmazonSageMakerTaskSettings
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AmazonSageMakerTaskSettings>
Json deserializer forAmazonSageMakerTaskSettings
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The AWS custom attributes passed verbatim through to the model running in the SageMaker Endpoint.final String
The optional JMESPath expression used to override the EnableExplanations provided during endpoint creation.final String
The capture data ID when enabled in the endpoint.static AmazonSageMakerTaskSettings
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final String
The stateful session identifier for a new or existing session.protected static void
setupAmazonSageMakerTaskSettingsDeserializer
(ObjectDeserializer<AmazonSageMakerTaskSettings.Builder> op) final String
Specifies the variant when running with multi-variant Endpoints.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAmazonSageMakerTaskSettings
-
-
Method Details
-
of
-
customAttributes
The AWS custom attributes passed verbatim through to the model running in the SageMaker Endpoint. Values will be returned in theX-elastic-sagemaker-custom-attributes
header.API name:
custom_attributes
-
enableExplanations
The optional JMESPath expression used to override the EnableExplanations provided during endpoint creation.API name:
enable_explanations
-
inferenceId
The capture data ID when enabled in the endpoint.API name:
inference_id
-
sessionId
The stateful session identifier for a new or existing session. New sessions will be returned in theX-elastic-sagemaker-new-session-id
header. Closed sessions will be returned in theX-elastic-sagemaker-closed-session-id
header.API name:
session_id
-
targetVariant
Specifies the variant when running with multi-variant Endpoints.API name:
target_variant
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAmazonSageMakerTaskSettingsDeserializer
protected static void setupAmazonSageMakerTaskSettingsDeserializer(ObjectDeserializer<AmazonSageMakerTaskSettings.Builder> op)
-