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.BuildercurrentInstanceCount(Integer currentInstanceCount)The number of instances associated with the variant.default ProductionVariantSummary.BuildercurrentServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> currentServerlessConfig)The serverless configuration for the endpoint.ProductionVariantSummary.BuildercurrentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)The serverless configuration for the endpoint.ProductionVariantSummary.BuildercurrentWeight(Float currentWeight)The weight associated with the variant.ProductionVariantSummary.BuilderdeployedImages(Collection<DeployedImage> deployedImages)An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.ProductionVariantSummary.BuilderdeployedImages(Consumer<DeployedImage.Builder>... deployedImages)An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.ProductionVariantSummary.BuilderdeployedImages(DeployedImage... deployedImages)An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.ProductionVariantSummary.BuilderdesiredInstanceCount(Integer desiredInstanceCount)The number of instances requested in theUpdateEndpointWeightsAndCapacitiesrequest.default ProductionVariantSummary.BuilderdesiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig)The serverless configuration requested for the endpoint update.ProductionVariantSummary.BuilderdesiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)The serverless configuration requested for the endpoint update.ProductionVariantSummary.BuilderdesiredWeight(Float desiredWeight)The requested weight, as specified in theUpdateEndpointWeightsAndCapacitiesrequest.ProductionVariantSummary.BuildervariantName(String variantName)The name of the variant.ProductionVariantSummary.BuildervariantStatus(Collection<ProductionVariantStatus> variantStatus)The endpoint variant status which describes the current deployment stage status or operational status.ProductionVariantSummary.BuildervariantStatus(Consumer<ProductionVariantStatus.Builder>... variantStatus)The endpoint variant status which describes the current deployment stage status or operational status.ProductionVariantSummary.BuildervariantStatus(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
DeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.- Parameters:
deployedImages- An array ofDeployedImageobjects 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
DeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.- Parameters:
deployedImages- An array ofDeployedImageobjects 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 theDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.DeployedImage.Builderavoiding the need to create one manually viaDeployedImage.builder().When the
Consumercompletes,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
UpdateEndpointWeightsAndCapacitiesrequest.- Parameters:
desiredWeight- The requested weight, as specified in theUpdateEndpointWeightsAndCapacitiesrequest.- 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
UpdateEndpointWeightsAndCapacitiesrequest.- Parameters:
desiredInstanceCount- The number of instances requested in theUpdateEndpointWeightsAndCapacitiesrequest.- 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.Builderavoiding the need to create one manually viaProductionVariantStatus.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaProductionVariantServerlessConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaProductionVariantServerlessConfig.builder().When the
Consumercompletes,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)
-
-