public static interface ProductionVariantSummary.Builder extends SdkPojo, CopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>
Modifier and Type | Method and Description |
---|---|
ProductionVariantSummary.Builder |
currentInstanceCount(Integer currentInstanceCount)
The number of instances associated with the variant.
|
ProductionVariantSummary.Builder |
currentWeight(Float currentWeight)
The weight associated with the variant.
|
ProductionVariantSummary.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 . |
ProductionVariantSummary.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 . |
ProductionVariantSummary.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 . |
ProductionVariantSummary.Builder |
desiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in the
UpdateEndpointWeightsAndCapacities request. |
ProductionVariantSummary.Builder |
desiredWeight(Float desiredWeight)
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities request. |
ProductionVariantSummary.Builder |
variantName(String variantName)
The name of the variant.
|
copy
applyMutation, build
ProductionVariantSummary.Builder variantName(String variantName)
The name of the variant.
variantName
- The name of the variant.ProductionVariantSummary.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
.ProductionVariantSummary.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
.ProductionVariantSummary.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
.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #deployedImages(List)
.deployedImages
- a consumer that will call methods on List.Builder
#deployedImages(List)
ProductionVariantSummary.Builder currentWeight(Float currentWeight)
The weight associated with the variant.
currentWeight
- The weight associated with the variant.ProductionVariantSummary.Builder desiredWeight(Float desiredWeight)
The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
request.
desiredWeight
- The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
request.ProductionVariantSummary.Builder currentInstanceCount(Integer currentInstanceCount)
The number of instances associated with the variant.
currentInstanceCount
- The number of instances associated with the variant.ProductionVariantSummary.Builder desiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in the UpdateEndpointWeightsAndCapacities
request.
desiredInstanceCount
- The number of instances requested in the UpdateEndpointWeightsAndCapacities
request.Copyright © 2018. All rights reserved.