public static interface CreateEndpointConfigRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateEndpointConfigRequest.Builder,CreateEndpointConfigRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEndpointConfigRequest.Builder |
asyncInferenceConfig(AsyncInferenceConfig asyncInferenceConfig)
Specifies configuration for how an endpoint performs asynchronous inference.
|
default CreateEndpointConfigRequest.Builder |
asyncInferenceConfig(Consumer<AsyncInferenceConfig.Builder> asyncInferenceConfig)
Specifies configuration for how an endpoint performs asynchronous inference.
|
default CreateEndpointConfigRequest.Builder |
dataCaptureConfig(Consumer<DataCaptureConfig.Builder> dataCaptureConfig)
Sets the value of the DataCaptureConfig property for this object.
|
CreateEndpointConfigRequest.Builder |
dataCaptureConfig(DataCaptureConfig dataCaptureConfig)
Sets the value of the DataCaptureConfig property for this object.
|
CreateEndpointConfigRequest.Builder |
endpointConfigName(String endpointConfigName)
The name of the endpoint configuration.
|
default CreateEndpointConfigRequest.Builder |
explainerConfig(Consumer<ExplainerConfig.Builder> explainerConfig)
A member of
CreateEndpointConfig that enables explainers. |
CreateEndpointConfigRequest.Builder |
explainerConfig(ExplainerConfig explainerConfig)
A member of
CreateEndpointConfig that enables explainers. |
CreateEndpointConfigRequest.Builder |
kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to
encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
CreateEndpointConfigRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEndpointConfigRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEndpointConfigRequest.Builder |
productionVariants(Collection<ProductionVariant> productionVariants)
An array of
ProductionVariant objects, one for each model that you want to host at this
endpoint. |
CreateEndpointConfigRequest.Builder |
productionVariants(Consumer<ProductionVariant.Builder>... productionVariants)
An array of
ProductionVariant objects, one for each model that you want to host at this
endpoint. |
CreateEndpointConfigRequest.Builder |
productionVariants(ProductionVariant... productionVariants)
An array of
ProductionVariant objects, one for each model that you want to host at this
endpoint. |
CreateEndpointConfigRequest.Builder |
shadowProductionVariants(Collection<ProductionVariant> shadowProductionVariants)
An array of
ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on ProductionVariants
. |
CreateEndpointConfigRequest.Builder |
shadowProductionVariants(Consumer<ProductionVariant.Builder>... shadowProductionVariants)
An array of
ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on ProductionVariants
. |
CreateEndpointConfigRequest.Builder |
shadowProductionVariants(ProductionVariant... shadowProductionVariants)
An array of
ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on ProductionVariants
. |
CreateEndpointConfigRequest.Builder |
tags(Collection<Tag> tags)
An array of key-value pairs.
|
CreateEndpointConfigRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs.
|
CreateEndpointConfigRequest.Builder |
tags(Tag... tags)
An array of key-value pairs.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEndpointConfigRequest.Builder endpointConfigName(String endpointConfigName)
The name of the endpoint configuration. You specify this name in a CreateEndpoint request.
endpointConfigName - The name of the endpoint configuration. You specify this name in a CreateEndpoint request.CreateEndpointConfigRequest.Builder productionVariants(Collection<ProductionVariant> productionVariants)
An array of ProductionVariant objects, one for each model that you want to host at this
endpoint.
productionVariants - An array of ProductionVariant objects, one for each model that you want to host at this
endpoint.CreateEndpointConfigRequest.Builder productionVariants(ProductionVariant... productionVariants)
An array of ProductionVariant objects, one for each model that you want to host at this
endpoint.
productionVariants - An array of ProductionVariant objects, one for each model that you want to host at this
endpoint.CreateEndpointConfigRequest.Builder productionVariants(Consumer<ProductionVariant.Builder>... productionVariants)
An array of ProductionVariant objects, one for each model that you want to host at this
endpoint.
ProductionVariant.Builder avoiding the need to create
one manually via ProductionVariant.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #productionVariants(List.
productionVariants - a consumer that will call methods on
ProductionVariant.Builder#productionVariants(java.util.Collection) CreateEndpointConfigRequest.Builder dataCaptureConfig(DataCaptureConfig dataCaptureConfig)
dataCaptureConfig - The new value for the DataCaptureConfig property for this object.default CreateEndpointConfigRequest.Builder dataCaptureConfig(Consumer<DataCaptureConfig.Builder> dataCaptureConfig)
DataCaptureConfig.Builder avoiding the
need to create one manually via DataCaptureConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to dataCaptureConfig(DataCaptureConfig).
dataCaptureConfig - a consumer that will call methods on DataCaptureConfig.BuilderdataCaptureConfig(DataCaptureConfig)CreateEndpointConfigRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
Resources.CreateEndpointConfigRequest.Builder tags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
Resources.CreateEndpointConfigRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateEndpointConfigRequest.Builder kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
The KmsKeyId can be any of the following formats:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint, UpdateEndpoint requests. For more information, refer to the Amazon Web Services Key Management
Service section Using Key
Policies in Amazon Web Services KMS
Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes
are encrypted using a hardware module on the instance. You can't request a KmsKeyId when using
an instance type with local storage. If any of the models that you specify in the
ProductionVariants parameter use nitro-based instances with local storage, do not specify a
value for the KmsKeyId parameter. If you specify a value for KmsKeyId when using
any nitro-based instances with local storage, the call to CreateEndpointConfig fails.
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
kmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses
to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
The KmsKeyId can be any of the following formats:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
The KMS key policy must grant permission to the IAM role that you specify in your
CreateEndpoint, UpdateEndpoint requests. For more information, refer to the
Amazon Web Services Key Management Service section Using Key Policies in
Amazon Web Services KMS
Certain Nitro-based instances include local storage, dependent on the instance type. Local storage
volumes are encrypted using a hardware module on the instance. You can't request a
KmsKeyId when using an instance type with local storage. If any of the models that you
specify in the ProductionVariants parameter use nitro-based instances with local storage,
do not specify a value for the KmsKeyId parameter. If you specify a value for
KmsKeyId when using any nitro-based instances with local storage, the call to
CreateEndpointConfig fails.
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
CreateEndpointConfigRequest.Builder asyncInferenceConfig(AsyncInferenceConfig asyncInferenceConfig)
Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync.
asyncInferenceConfig - Specifies configuration for how an endpoint performs asynchronous inference. This is a required field
in order for your Endpoint to be invoked using InvokeEndpointAsync.default CreateEndpointConfigRequest.Builder asyncInferenceConfig(Consumer<AsyncInferenceConfig.Builder> asyncInferenceConfig)
Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync.
This is a convenience method that creates an instance of theAsyncInferenceConfig.Builder avoiding
the need to create one manually via AsyncInferenceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to asyncInferenceConfig(AsyncInferenceConfig).
asyncInferenceConfig - a consumer that will call methods on AsyncInferenceConfig.BuilderasyncInferenceConfig(AsyncInferenceConfig)CreateEndpointConfigRequest.Builder explainerConfig(ExplainerConfig explainerConfig)
A member of CreateEndpointConfig that enables explainers.
explainerConfig - A member of CreateEndpointConfig that enables explainers.default CreateEndpointConfigRequest.Builder explainerConfig(Consumer<ExplainerConfig.Builder> explainerConfig)
A member of CreateEndpointConfig that enables explainers.
ExplainerConfig.Builder avoiding the
need to create one manually via ExplainerConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to explainerConfig(ExplainerConfig).
explainerConfig - a consumer that will call methods on ExplainerConfig.BuilderexplainerConfig(ExplainerConfig)CreateEndpointConfigRequest.Builder shadowProductionVariants(Collection<ProductionVariant> shadowProductionVariants)
An array of ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on ProductionVariants
. If you use this field, you can only specify one variant for ProductionVariants and one variant
for ShadowProductionVariants.
shadowProductionVariants - An array of ProductionVariant objects, one for each model that you want to host at this
endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants. If you use this field, you can only specify one variant for
ProductionVariants and one variant for ShadowProductionVariants.CreateEndpointConfigRequest.Builder shadowProductionVariants(ProductionVariant... shadowProductionVariants)
An array of ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on ProductionVariants
. If you use this field, you can only specify one variant for ProductionVariants and one variant
for ShadowProductionVariants.
shadowProductionVariants - An array of ProductionVariant objects, one for each model that you want to host at this
endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants. If you use this field, you can only specify one variant for
ProductionVariants and one variant for ShadowProductionVariants.CreateEndpointConfigRequest.Builder shadowProductionVariants(Consumer<ProductionVariant.Builder>... shadowProductionVariants)
An array of ProductionVariant objects, one for each model that you want to host at this endpoint
in shadow mode with production traffic replicated from the model specified on ProductionVariants
. If you use this field, you can only specify one variant for ProductionVariants and one variant
for ShadowProductionVariants.
ProductionVariant.Builder avoiding the need to create
one manually via ProductionVariant.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #shadowProductionVariants(List.
shadowProductionVariants - a consumer that will call methods on
ProductionVariant.Builder#shadowProductionVariants(java.util.Collection) CreateEndpointConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEndpointConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.