Interface PendingProductionVariantSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PendingProductionVariantSummary.Builder,
,PendingProductionVariantSummary> SdkBuilder<PendingProductionVariantSummary.Builder,
,PendingProductionVariantSummary> SdkPojo
- Enclosing class:
PendingProductionVariantSummary
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorType
(String acceleratorType) The size of the Elastic Inference (EI) instance to use for the production variant.acceleratorType
(ProductionVariantAcceleratorType acceleratorType) The size of the Elastic Inference (EI) instance to use for the production variant.currentInstanceCount
(Integer currentInstanceCount) The number of instances associated with the variant.currentServerlessConfig
(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 ofDeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant
.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
.deployedImages
(DeployedImage... deployedImages) An array ofDeployedImage
objects 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 this deployment, as specified in the endpoint configuration for the endpoint.desiredServerlessConfig
(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig) The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.desiredServerlessConfig
(ProductionVariantServerlessConfig desiredServerlessConfig) The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.desiredWeight
(Float desiredWeight) The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint.instanceType
(String instanceType) The type of instances associated with the variant.instanceType
(ProductionVariantInstanceType instanceType) The type of instances associated with the variant.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.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.routingConfig
(Consumer<ProductionVariantRoutingConfig.Builder> routingConfig) Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.routingConfig
(ProductionVariantRoutingConfig routingConfig) Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.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
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 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
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
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
PendingProductionVariantSummary.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 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 for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.
- Parameters:
desiredWeight
- The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.- 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 this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.
- Parameters:
desiredInstanceCount
- The number of instances requested in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The type of instances associated with the variant.
- Parameters:
instanceType
- The type of instances associated with the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The type of instances associated with the variant.
- Parameters:
instanceType
- The type of instances associated with the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceleratorType
The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.
- Parameters:
acceleratorType
- The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceleratorType
PendingProductionVariantSummary.Builder acceleratorType(ProductionVariantAcceleratorType acceleratorType) The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.
- Parameters:
acceleratorType
- The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
variantStatus
PendingProductionVariantSummary.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
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
PendingProductionVariantSummary.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 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
PendingProductionVariantSummary.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 PendingProductionVariantSummary.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:
-
desiredServerlessConfig
PendingProductionVariantSummary.Builder desiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig) The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.
- Parameters:
desiredServerlessConfig
- The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredServerlessConfig
default PendingProductionVariantSummary.Builder desiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig) The serverless configuration requested for this deployment, as specified in the endpoint 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 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:
-
managedInstanceScaling
PendingProductionVariantSummary.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 PendingProductionVariantSummary.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:
-
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 PendingProductionVariantSummary.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:
-