public static interface ProductionVariant.Builder extends CopyableBuilder<ProductionVariant.Builder,ProductionVariant>
| Modifier and Type | Method and Description |
|---|---|
ProductionVariant.Builder |
initialInstanceCount(Integer initialInstanceCount)
Number of instances to launch initially.
|
ProductionVariant.Builder |
initialVariantWeight(Float initialVariantWeight)
Determines initial traffic distribution among all of the models that you specify in the endpoint
configuration.
|
ProductionVariant.Builder |
instanceType(ProductionVariantInstanceType instanceType)
The ML compute instance type.
|
ProductionVariant.Builder |
instanceType(String instanceType)
The ML compute instance type.
|
ProductionVariant.Builder |
modelName(String modelName)
The name of the model that you want to host.
|
ProductionVariant.Builder |
variantName(String variantName)
The name of the production variant.
|
copyapply, buildProductionVariant.Builder variantName(String variantName)
The name of the production variant.
variantName - The name of the production variant.ProductionVariant.Builder modelName(String modelName)
The name of the model that you want to host. This is the name that you specified when creating the model.
modelName - The name of the model that you want to host. This is the name that you specified when creating the
model.ProductionVariant.Builder initialInstanceCount(Integer initialInstanceCount)
Number of instances to launch initially.
initialInstanceCount - Number of instances to launch initially.ProductionVariant.Builder instanceType(String instanceType)
The ML compute instance type.
instanceType - The ML compute instance type.ProductionVariantInstanceType,
ProductionVariantInstanceTypeProductionVariant.Builder instanceType(ProductionVariantInstanceType instanceType)
The ML compute instance type.
instanceType - The ML compute instance type.ProductionVariantInstanceType,
ProductionVariantInstanceTypeProductionVariant.Builder initialVariantWeight(Float initialVariantWeight)
Determines initial traffic distribution among all of the models that you specify in the endpoint
configuration. The traffic to a production variant is determined by the ratio of the
VariantWeight to the sum of all VariantWeight values across all ProductionVariants.
If unspecified, it defaults to 1.0.
initialVariantWeight - Determines initial traffic distribution among all of the models that you specify in the endpoint
configuration. The traffic to a production variant is determined by the ratio of the
VariantWeight to the sum of all VariantWeight values across all
ProductionVariants. If unspecified, it defaults to 1.0.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.