Interface ProductionVariantSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>
,SdkBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>
,SdkPojo
- Enclosing class:
- ProductionVariantSummary
public static interface ProductionVariantSummary.Builder extends SdkPojo, CopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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 ofDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.ProductionVariantSummary.Builder
deployedImages(Consumer<DeployedImage.Builder>... deployedImages)
An array ofDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.ProductionVariantSummary.Builder
deployedImages(DeployedImage... deployedImages)
An array ofDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.ProductionVariantSummary.Builder
desiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in theUpdateEndpointWeightsAndCapacities
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 theUpdateEndpointWeightsAndCapacities
request.default ProductionVariantSummary.Builder
managedInstanceScaling(Consumer<ProductionVariantManagedInstanceScaling.Builder> managedInstanceScaling)
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.ProductionVariantSummary.Builder
managedInstanceScaling(ProductionVariantManagedInstanceScaling managedInstanceScaling)
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.default ProductionVariantSummary.Builder
routingConfig(Consumer<ProductionVariantRoutingConfig.Builder> routingConfig)
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.ProductionVariantSummary.Builder
routingConfig(ProductionVariantRoutingConfig routingConfig)
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
variantName
ProductionVariantSummary.Builder variantName(String variantName)
The name of the variant.
- Parameters:
variantName
- The name of the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployedImages
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 thisProductionVariant
.- Parameters:
deployedImages
- An array ofDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployedImages
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 thisProductionVariant
.- Parameters:
deployedImages
- An array ofDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployedImages
ProductionVariantSummary.Builder deployedImages(Consumer<DeployedImage.Builder>... deployedImages)
An array of
This is a convenience method that creates an instance of theDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.DeployedImage.Builder
avoiding the need to create one manually viaDeployedImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#deployedImages(List
.) - Parameters:
deployedImages
- a consumer that will call methods onDeployedImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#deployedImages(java.util.Collection
)
-
currentWeight
ProductionVariantSummary.Builder currentWeight(Float currentWeight)
The weight associated with the variant.
- Parameters:
currentWeight
- The weight associated with the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredWeight
ProductionVariantSummary.Builder desiredWeight(Float desiredWeight)
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities
request.- Parameters:
desiredWeight
- The requested weight, as specified in theUpdateEndpointWeightsAndCapacities
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentInstanceCount
ProductionVariantSummary.Builder currentInstanceCount(Integer currentInstanceCount)
The number of instances associated with the variant.
- Parameters:
currentInstanceCount
- The number of instances associated with the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredInstanceCount
ProductionVariantSummary.Builder desiredInstanceCount(Integer desiredInstanceCount)
The number of instances requested in the
UpdateEndpointWeightsAndCapacities
request.- Parameters:
desiredInstanceCount
- The number of instances requested in theUpdateEndpointWeightsAndCapacities
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantStatus
ProductionVariantSummary.Builder variantStatus(Collection<ProductionVariantStatus> variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
- Parameters:
variantStatus
- The endpoint variant status which describes the current deployment stage status or operational status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantStatus
ProductionVariantSummary.Builder variantStatus(ProductionVariantStatus... variantStatus)
The endpoint variant status which describes the current deployment stage status or operational status.
- Parameters:
variantStatus
- The endpoint variant status which describes the current deployment stage status or operational status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantStatus
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 viaProductionVariantStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#variantStatus(List
.) - Parameters:
variantStatus
- a consumer that will call methods onProductionVariantStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#variantStatus(java.util.Collection
)
-
currentServerlessConfig
ProductionVariantSummary.Builder currentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)
The serverless configuration for the endpoint.
- Parameters:
currentServerlessConfig
- The serverless configuration for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentServerlessConfig
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 viaProductionVariantServerlessConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentServerlessConfig(ProductionVariantServerlessConfig)
.- Parameters:
currentServerlessConfig
- a consumer that will call methods onProductionVariantServerlessConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
currentServerlessConfig(ProductionVariantServerlessConfig)
-
desiredServerlessConfig
ProductionVariantSummary.Builder desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)
The serverless configuration requested for the endpoint update.
- Parameters:
desiredServerlessConfig
- The serverless configuration requested for the endpoint update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredServerlessConfig
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 viaProductionVariantServerlessConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todesiredServerlessConfig(ProductionVariantServerlessConfig)
.- Parameters:
desiredServerlessConfig
- a consumer that will call methods onProductionVariantServerlessConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
desiredServerlessConfig(ProductionVariantServerlessConfig)
-
managedInstanceScaling
ProductionVariantSummary.Builder managedInstanceScaling(ProductionVariantManagedInstanceScaling managedInstanceScaling)
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.
- Parameters:
managedInstanceScaling
- Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedInstanceScaling
default ProductionVariantSummary.Builder managedInstanceScaling(Consumer<ProductionVariantManagedInstanceScaling.Builder> managedInstanceScaling)
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.
This is a convenience method that creates an instance of theProductionVariantManagedInstanceScaling.Builder
avoiding the need to create one manually viaProductionVariantManagedInstanceScaling.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanagedInstanceScaling(ProductionVariantManagedInstanceScaling)
.- Parameters:
managedInstanceScaling
- a consumer that will call methods onProductionVariantManagedInstanceScaling.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
managedInstanceScaling(ProductionVariantManagedInstanceScaling)
-
routingConfig
ProductionVariantSummary.Builder routingConfig(ProductionVariantRoutingConfig routingConfig)
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
- Parameters:
routingConfig
- Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
default ProductionVariantSummary.Builder routingConfig(Consumer<ProductionVariantRoutingConfig.Builder> routingConfig)
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
This is a convenience method that creates an instance of theProductionVariantRoutingConfig.Builder
avoiding the need to create one manually viaProductionVariantRoutingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingConfig(ProductionVariantRoutingConfig)
.- Parameters:
routingConfig
- a consumer that will call methods onProductionVariantRoutingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routingConfig(ProductionVariantRoutingConfig)
-
-