@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:43.316Z") @Stability(value=Experimental) public interface ProductionVariant extends software.amazon.jsii.JsiiSerializable
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariant.html| Modifier and Type | Interface and Description |
|---|---|
static class |
ProductionVariant.Builder
A builder for
ProductionVariant |
static class |
ProductionVariant.Jsii$Proxy
An implementation for
ProductionVariant |
| Modifier and Type | Method and Description |
|---|---|
static ProductionVariant.Builder |
builder() |
default AcceleratorType |
getAcceleratorType()
(experimental) The size of the Elastic Inference (EI) instance to use for the production variant.
|
default Number |
getInitialInstanceCount()
(experimental) Number of instances to launch initially.
|
default Number |
getInitialVariantWeight()
(experimental) Determines initial traffic distribution among all of the models that you specify in the endpoint configuration.
|
InstanceType |
getInstanceType()
(experimental) The ML compute instance type.
|
String |
getModelName()
(experimental) The name of the model that you want to host.
|
String |
getVariantName()
(experimental) The name of the production variant.
|
@Stability(value=Experimental) @NotNull InstanceType getInstanceType()
@Stability(value=Experimental) @NotNull String getModelName()
This is the name that you specified when creating the model.
@Stability(value=Experimental) @NotNull String getVariantName()
@Stability(value=Experimental) @Nullable default AcceleratorType getAcceleratorType()
Default: - None
@Stability(value=Experimental) @Nullable default Number getInitialInstanceCount()
Default: - 1
@Stability(value=Experimental) @Nullable default Number getInitialVariantWeight()
Default: - 1.0
@Stability(value=Experimental) static ProductionVariant.Builder builder()
ProductionVariant.Builder of ProductionVariantCopyright © 2021. All rights reserved.