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.
|
default ProductionVariantSummary.Builder |
currentServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> currentServerlessConfig)
The serverless configuration for the endpoint.
|
ProductionVariantSummary.Builder |
currentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)
The serverless configuration for the endpoint.
|
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. |
default ProductionVariantSummary.Builder |
desiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig)
The serverless configuration requested for the endpoint update.
|
ProductionVariantSummary.Builder |
desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)
The serverless configuration requested for the endpoint update.
|
ProductionVariantSummary.Builder |
desiredWeight(Float desiredWeight)
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities request. |
ProductionVariantSummary.Builder |
variantName(String variantName)
The name of the variant.
|
ProductionVariantSummary.Builder |
variantStatus(Collection<ProductionVariantStatus> variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
ProductionVariantSummary.Builder |
variantStatus(Consumer<ProductionVariantStatus.Builder>... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
ProductionVariantSummary.Builder |
variantStatus(ProductionVariantStatus... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProductionVariantSummary.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.
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) 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.ProductionVariantSummary.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.ProductionVariantSummary.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.ProductionVariantSummary.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) ProductionVariantSummary.Builder currentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)
The serverless configuration for the endpoint.
currentServerlessConfig - The serverless configuration for the endpoint.default ProductionVariantSummary.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.BuildercurrentServerlessConfig(ProductionVariantServerlessConfig)ProductionVariantSummary.Builder desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)
The serverless configuration requested for the endpoint update.
desiredServerlessConfig - The serverless configuration requested for the endpoint update.default ProductionVariantSummary.Builder desiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig)
The serverless configuration requested for the endpoint update.
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.BuilderdesiredServerlessConfig(ProductionVariantServerlessConfig)Copyright © 2022. All rights reserved.