Interface ProductionVariantSummary.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ProductionVariantSummary.Builder,,ProductionVariantSummary> SdkBuilder<ProductionVariantSummary.Builder,,ProductionVariantSummary> SdkPojo
- Enclosing class:
 ProductionVariantSummary
- 
Method Summary
Modifier and TypeMethodDescriptioncurrentInstanceCount(Integer currentInstanceCount) The number of instances associated with the variant.default ProductionVariantSummary.BuildercurrentServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> currentServerlessConfig) The serverless configuration for the endpoint.currentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig) The serverless configuration for the endpoint.currentWeight(Float currentWeight) The weight associated with the variant.deployedImages(Collection<DeployedImage> deployedImages) An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.deployedImages(Consumer<DeployedImage.Builder>... deployedImages) An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.deployedImages(DeployedImage... deployedImages) An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.desiredInstanceCount(Integer desiredInstanceCount) The number of instances requested in theUpdateEndpointWeightsAndCapacitiesrequest.default ProductionVariantSummary.BuilderdesiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig) The serverless configuration requested for the endpoint update.desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig) The serverless configuration requested for the endpoint update.desiredWeight(Float desiredWeight) The requested weight, as specified in theUpdateEndpointWeightsAndCapacitiesrequest.variantName(String variantName) The name of the variant.variantStatus(Collection<ProductionVariantStatus> variantStatus) The endpoint variant status which describes the current deployment stage status or operational status.variantStatus(Consumer<ProductionVariantStatus.Builder>... variantStatus) The endpoint variant status which describes the current deployment stage status or operational status.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
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
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
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
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 todeployedImages(List<DeployedImage>).- 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:
 
 - 
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
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
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
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
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
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 tovariantStatus(List<ProductionVariantStatus>).- 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:
 
 - 
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:
 
 - 
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:
 
 
 -