Class AmazonSageMakerTaskSettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AmazonSageMakerTaskSettings.Builder>
co.elastic.clients.elasticsearch.inference.AmazonSageMakerTaskSettings.Builder
- All Implemented Interfaces:
WithJson<AmazonSageMakerTaskSettings.Builder>
,ObjectBuilder<AmazonSageMakerTaskSettings>
- Enclosing class:
- AmazonSageMakerTaskSettings
public static class AmazonSageMakerTaskSettings.Builder
extends WithJsonObjectBuilderBase<AmazonSageMakerTaskSettings.Builder>
implements ObjectBuilder<AmazonSageMakerTaskSettings>
Builder for
AmazonSageMakerTaskSettings
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAmazonSageMakerTaskSettings
.customAttributes
(String value) The AWS custom attributes passed verbatim through to the model running in the SageMaker Endpoint.enableExplanations
(String value) The optional JMESPath expression used to override the EnableExplanations provided during endpoint creation.inferenceId
(String value) The capture data ID when enabled in the endpoint.protected AmazonSageMakerTaskSettings.Builder
self()
The stateful session identifier for a new or existing session.targetVariant
(String value) Specifies the variant when running with multi-variant Endpoints.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AmazonSageMakerTaskSettings.Builder>
-
build
Builds aAmazonSageMakerTaskSettings
.- Specified by:
build
in interfaceObjectBuilder<AmazonSageMakerTaskSettings>
- Throws:
NullPointerException
- if some of the required fields are null.
-