public static interface PendingProductionVariantSummary.Builder extends SdkPojo, CopyableBuilder<PendingProductionVariantSummary.Builder,PendingProductionVariantSummary>
Modifier and Type | Method and Description |
---|---|
PendingProductionVariantSummary.Builder |
acceleratorType(ProductionVariantAcceleratorType acceleratorType)
The size of the Elastic Inference (EI) instance to use for the production variant.
|
PendingProductionVariantSummary.Builder |
acceleratorType(String acceleratorType)
The size of the Elastic Inference (EI) instance to use for the production variant.
|
PendingProductionVariantSummary.Builder |
currentInstanceCount(Integer currentInstanceCount)
The number of instances associated with the variant.
|
default PendingProductionVariantSummary.Builder |
currentServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> currentServerlessConfig)
The serverless configuration for the endpoint.
|
PendingProductionVariantSummary.Builder |
currentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)
The serverless configuration for the endpoint.
|
PendingProductionVariantSummary.Builder |
currentWeight(Float currentWeight)
The weight associated with the variant.
|
PendingProductionVariantSummary.Builder |
deployedImages(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 . |
PendingProductionVariantSummary.Builder |
deployedImages(Consumer<DeployedImage.Builder>... deployedImages)
An array of
DeployedImage objects that specify the Amazon EC2 Container Registry paths of the
inference images deployed on instances of this ProductionVariant . |
PendingProductionVariantSummary.Builder |
deployedImages(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 . |
PendingProductionVariantSummary.Builder |
desiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in this deployment, as specified in the endpoint configuration for the
endpoint.
|
default PendingProductionVariantSummary.Builder |
desiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig)
The serverless configuration requested for this deployment, as specified in the endpoint configuration for
the endpoint.
|
PendingProductionVariantSummary.Builder |
desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)
The serverless configuration requested for this deployment, as specified in the endpoint configuration for
the endpoint.
|
PendingProductionVariantSummary.Builder |
desiredWeight(Float desiredWeight)
The requested weight for the variant in this deployment, as specified in the endpoint configuration for the
endpoint.
|
PendingProductionVariantSummary.Builder |
instanceType(ProductionVariantInstanceType instanceType)
The type of instances associated with the variant.
|
PendingProductionVariantSummary.Builder |
instanceType(String instanceType)
The type of instances associated with the variant.
|
PendingProductionVariantSummary.Builder |
variantName(String variantName)
The name of the variant.
|
PendingProductionVariantSummary.Builder |
variantStatus(Collection<ProductionVariantStatus> variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
PendingProductionVariantSummary.Builder |
variantStatus(Consumer<ProductionVariantStatus.Builder>... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
PendingProductionVariantSummary.Builder |
variantStatus(ProductionVariantStatus... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
PendingProductionVariantSummary.Builder variantName(String variantName)
The name of the variant.
variantName
- The name of the variant.PendingProductionVariantSummary.Builder deployedImages(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
.
deployedImages
- An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of
the inference images deployed on instances of this ProductionVariant
.PendingProductionVariantSummary.Builder deployedImages(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
.
deployedImages
- An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of
the inference images deployed on instances of this ProductionVariant
.PendingProductionVariantSummary.Builder deployedImages(Consumer<DeployedImage.Builder>... deployedImages)
An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of the
inference images deployed on instances of this ProductionVariant
.
DeployedImage.Builder
avoiding the need to create one
manually via DeployedImage.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #deployedImages(List
.
deployedImages
- a consumer that will call methods on
DeployedImage.Builder
#deployedImages(java.util.Collection)
PendingProductionVariantSummary.Builder currentWeight(Float currentWeight)
The weight associated with the variant.
currentWeight
- The weight associated with the variant.PendingProductionVariantSummary.Builder desiredWeight(Float desiredWeight)
The requested weight for the variant in this deployment, as specified in the endpoint configuration for the
endpoint. The value is taken from the request to the CreateEndpointConfig
operation.
desiredWeight
- The requested weight for the variant in this deployment, as specified in the endpoint configuration
for the endpoint. The value is taken from the request to the
CreateEndpointConfig
operation.PendingProductionVariantSummary.Builder currentInstanceCount(Integer currentInstanceCount)
The number of instances associated with the variant.
currentInstanceCount
- The number of instances associated with the variant.PendingProductionVariantSummary.Builder desiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in this deployment, as specified in the endpoint configuration for the
endpoint. The value is taken from the request to the CreateEndpointConfig
operation.
desiredInstanceCount
- The number of instances requested in this deployment, as specified in the endpoint configuration for
the endpoint. The value is taken from the request to the CreateEndpointConfig
operation.PendingProductionVariantSummary.Builder instanceType(String instanceType)
The type of instances associated with the variant.
instanceType
- The type of instances associated with the variant.ProductionVariantInstanceType
,
ProductionVariantInstanceType
PendingProductionVariantSummary.Builder instanceType(ProductionVariantInstanceType instanceType)
The type of instances associated with the variant.
instanceType
- The type of instances associated with the variant.ProductionVariantInstanceType
,
ProductionVariantInstanceType
PendingProductionVariantSummary.Builder acceleratorType(String acceleratorType)
The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.
acceleratorType
- The size of the Elastic Inference (EI) instance to use for the production variant. EI instances
provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon
SageMaker.ProductionVariantAcceleratorType
,
ProductionVariantAcceleratorType
PendingProductionVariantSummary.Builder acceleratorType(ProductionVariantAcceleratorType acceleratorType)
The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.
acceleratorType
- The size of the Elastic Inference (EI) instance to use for the production variant. EI instances
provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon
SageMaker.ProductionVariantAcceleratorType
,
ProductionVariantAcceleratorType
PendingProductionVariantSummary.Builder variantStatus(Collection<ProductionVariantStatus> variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
variantStatus
- The endpoint variant status which describes the current deployment stage status or operational status.PendingProductionVariantSummary.Builder variantStatus(ProductionVariantStatus... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
variantStatus
- The endpoint variant status which describes the current deployment stage status or operational status.PendingProductionVariantSummary.Builder variantStatus(Consumer<ProductionVariantStatus.Builder>... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
This is a convenience method that creates an instance of theProductionVariantStatus.Builder
avoiding the need to
create one manually via
ProductionVariantStatus.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #variantStatus(List
.
variantStatus
- a consumer that will call methods on
ProductionVariantStatus.Builder
#variantStatus(java.util.Collection)
PendingProductionVariantSummary.Builder currentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)
The serverless configuration for the endpoint.
currentServerlessConfig
- The serverless configuration for the endpoint.default PendingProductionVariantSummary.Builder currentServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> currentServerlessConfig)
The serverless configuration for the endpoint.
This is a convenience method that creates an instance of theProductionVariantServerlessConfig.Builder
avoiding the need to create one manually via
ProductionVariantServerlessConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to currentServerlessConfig(ProductionVariantServerlessConfig)
.
currentServerlessConfig
- a consumer that will call methods on ProductionVariantServerlessConfig.Builder
currentServerlessConfig(ProductionVariantServerlessConfig)
PendingProductionVariantSummary.Builder desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)
The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.
desiredServerlessConfig
- The serverless configuration requested for this deployment, as specified in the endpoint configuration
for the endpoint.default PendingProductionVariantSummary.Builder desiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig)
The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.
This is a convenience method that creates an instance of theProductionVariantServerlessConfig.Builder
avoiding the need to create one manually via
ProductionVariantServerlessConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to desiredServerlessConfig(ProductionVariantServerlessConfig)
.
desiredServerlessConfig
- a consumer that will call methods on ProductionVariantServerlessConfig.Builder
desiredServerlessConfig(ProductionVariantServerlessConfig)
Copyright © 2023. All rights reserved.