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:
  • Field Details

  • Method Details

    • of

    • customAttributes

      @Nullable public final String customAttributes()
      The AWS custom attributes passed verbatim through to the model running in the SageMaker Endpoint. Values will be returned in the X-elastic-sagemaker-custom-attributes header.

      API name: custom_attributes

    • enableExplanations

      @Nullable public final String enableExplanations()
      The optional JMESPath expression used to override the EnableExplanations provided during endpoint creation.

      API name: enable_explanations

    • inferenceId

      @Nullable public final String inferenceId()
      The capture data ID when enabled in the endpoint.

      API name: inference_id

    • sessionId

      @Nullable public final String sessionId()
      The stateful session identifier for a new or existing session. New sessions will be returned in the X-elastic-sagemaker-new-session-id header. Closed sessions will be returned in the X-elastic-sagemaker-closed-session-id header.

      API name: session_id

    • targetVariant

      @Nullable public final String targetVariant()
      Specifies the variant when running with multi-variant Endpoints.

      API name: target_variant

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupAmazonSageMakerTaskSettingsDeserializer

      protected static void setupAmazonSageMakerTaskSettingsDeserializer(ObjectDeserializer<AmazonSageMakerTaskSettings.Builder> op)