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 StringThe AWS custom attributes passed verbatim through to the model running in the SageMaker Endpoint.final StringThe optional JMESPath expression used to override the EnableExplanations provided during endpoint creation.final StringThe capture data ID when enabled in the endpoint.static AmazonSageMakerTaskSettingsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final StringThe stateful session identifier for a new or existing session.protected static voidsetupAmazonSageMakerTaskSettingsDeserializer(ObjectDeserializer<AmazonSageMakerTaskSettings.Builder> op) final StringSpecifies 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-attributesheader.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-idheader. Closed sessions will be returned in theX-elastic-sagemaker-closed-session-idheader.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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAmazonSageMakerTaskSettingsDeserializer
protected static void setupAmazonSageMakerTaskSettingsDeserializer(ObjectDeserializer<AmazonSageMakerTaskSettings.Builder> op)
-