| Package | Description |
|---|---|
| com.amazonaws.services.sagemaker.model |
| Modifier and Type | Method and Description |
|---|---|
ProductionVariantSummary |
ProductionVariantSummary.clone() |
ProductionVariantSummary |
ProductionVariantSummary.withCurrentInstanceCount(Integer currentInstanceCount)
The number of instances associated with the variant.
|
ProductionVariantSummary |
ProductionVariantSummary.withCurrentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)
The serverless configuration for the endpoint.
|
ProductionVariantSummary |
ProductionVariantSummary.withCurrentWeight(Float currentWeight)
The weight associated with the variant.
|
ProductionVariantSummary |
ProductionVariantSummary.withDeployedImages(Collection<DeployedImage> deployedImages)
An array of
DeployedImage objects that specify the Amazon EC2 Container Registry paths of the
inference images deployed on instances of this ProductionVariant. |
ProductionVariantSummary |
ProductionVariantSummary.withDeployedImages(DeployedImage... deployedImages)
An array of
DeployedImage objects that specify the Amazon EC2 Container Registry paths of the
inference images deployed on instances of this ProductionVariant. |
ProductionVariantSummary |
ProductionVariantSummary.withDesiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in the
UpdateEndpointWeightsAndCapacities request. |
ProductionVariantSummary |
ProductionVariantSummary.withDesiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)
The serverless configuration requested for the endpoint update.
|
ProductionVariantSummary |
ProductionVariantSummary.withDesiredWeight(Float desiredWeight)
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities request. |
ProductionVariantSummary |
ProductionVariantSummary.withVariantName(String variantName)
The name of the variant.
|
ProductionVariantSummary |
ProductionVariantSummary.withVariantStatus(Collection<ProductionVariantStatus> variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
ProductionVariantSummary |
ProductionVariantSummary.withVariantStatus(ProductionVariantStatus... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
| Modifier and Type | Method and Description |
|---|---|
List<ProductionVariantSummary> |
Endpoint.getProductionVariants()
A list of the production variants hosted on the endpoint.
|
List<ProductionVariantSummary> |
DescribeEndpointResult.getProductionVariants()
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
List<ProductionVariantSummary> |
Endpoint.getShadowProductionVariants()
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. |
List<ProductionVariantSummary> |
DescribeEndpointResult.getShadowProductionVariants()
Array of
ProductionVariant objects. |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
Endpoint.withProductionVariants(ProductionVariantSummary... productionVariants)
A list of the production variants hosted on the endpoint.
|
DescribeEndpointResult |
DescribeEndpointResult.withProductionVariants(ProductionVariantSummary... productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
Endpoint |
Endpoint.withShadowProductionVariants(ProductionVariantSummary... shadowProductionVariants)
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. |
DescribeEndpointResult |
DescribeEndpointResult.withShadowProductionVariants(ProductionVariantSummary... shadowProductionVariants)
Array of
ProductionVariant objects. |
| Modifier and Type | Method and Description |
|---|---|
void |
Endpoint.setProductionVariants(Collection<ProductionVariantSummary> productionVariants)
A list of the production variants hosted on the endpoint.
|
void |
DescribeEndpointResult.setProductionVariants(Collection<ProductionVariantSummary> productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
void |
Endpoint.setShadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants)
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. |
void |
DescribeEndpointResult.setShadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants)
Array of
ProductionVariant objects. |
Endpoint |
Endpoint.withProductionVariants(Collection<ProductionVariantSummary> productionVariants)
A list of the production variants hosted on the endpoint.
|
DescribeEndpointResult |
DescribeEndpointResult.withProductionVariants(Collection<ProductionVariantSummary> productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
Endpoint |
Endpoint.withShadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants)
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. |
DescribeEndpointResult |
DescribeEndpointResult.withShadowProductionVariants(Collection<ProductionVariantSummary> shadowProductionVariants)
Array of
ProductionVariant objects. |
Copyright © 2022. All rights reserved.