Interface PendingProductionVariantSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PendingProductionVariantSummary.Builder,PendingProductionVariantSummary>,SdkBuilder<PendingProductionVariantSummary.Builder,PendingProductionVariantSummary>,SdkPojo
- Enclosing class:
- PendingProductionVariantSummary
public static interface PendingProductionVariantSummary.Builder extends SdkPojo, CopyableBuilder<PendingProductionVariantSummary.Builder,PendingProductionVariantSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PendingProductionVariantSummary.BuilderacceleratorType(String acceleratorType)The size of the Elastic Inference (EI) instance to use for the production variant.PendingProductionVariantSummary.BuilderacceleratorType(ProductionVariantAcceleratorType acceleratorType)The size of the Elastic Inference (EI) instance to use for the production variant.PendingProductionVariantSummary.BuildercurrentInstanceCount(Integer currentInstanceCount)The number of instances associated with the variant.default PendingProductionVariantSummary.BuildercurrentServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> currentServerlessConfig)The serverless configuration for the endpoint.PendingProductionVariantSummary.BuildercurrentServerlessConfig(ProductionVariantServerlessConfig currentServerlessConfig)The serverless configuration for the endpoint.PendingProductionVariantSummary.BuildercurrentWeight(Float currentWeight)The weight associated with the variant.PendingProductionVariantSummary.BuilderdeployedImages(Collection<DeployedImage> deployedImages)An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.PendingProductionVariantSummary.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.PendingProductionVariantSummary.BuilderdeployedImages(DeployedImage... deployedImages)An array ofDeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.PendingProductionVariantSummary.BuilderdesiredInstanceCount(Integer desiredInstanceCount)The number of instances requested in this deployment, as specified in the endpoint configuration for the endpoint.default PendingProductionVariantSummary.BuilderdesiredServerlessConfig(Consumer<ProductionVariantServerlessConfig.Builder> desiredServerlessConfig)The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.PendingProductionVariantSummary.BuilderdesiredServerlessConfig(ProductionVariantServerlessConfig desiredServerlessConfig)The serverless configuration requested for this deployment, as specified in the endpoint configuration for the endpoint.PendingProductionVariantSummary.BuilderdesiredWeight(Float desiredWeight)The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint.PendingProductionVariantSummary.BuilderinstanceType(String instanceType)The type of instances associated with the variant.PendingProductionVariantSummary.BuilderinstanceType(ProductionVariantInstanceType instanceType)The type of instances associated with the variant.default PendingProductionVariantSummary.BuildermanagedInstanceScaling(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.PendingProductionVariantSummary.BuildermanagedInstanceScaling(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 PendingProductionVariantSummary.BuilderroutingConfig(Consumer<ProductionVariantRoutingConfig.Builder> routingConfig)Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.PendingProductionVariantSummary.BuilderroutingConfig(ProductionVariantRoutingConfig routingConfig)Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.PendingProductionVariantSummary.BuildervariantName(String variantName)The name of the variant.PendingProductionVariantSummary.BuildervariantStatus(Collection<ProductionVariantStatus> variantStatus)The endpoint variant status which describes the current deployment stage status or operational status.PendingProductionVariantSummary.BuildervariantStatus(Consumer<ProductionVariantStatus.Builder>... variantStatus)The endpoint variant status which describes the current deployment stage status or operational status.PendingProductionVariantSummary.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
PendingProductionVariantSummary.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
PendingProductionVariantSummary.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
PendingProductionVariantSummary.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
PendingProductionVariantSummary.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
PendingProductionVariantSummary.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
PendingProductionVariantSummary.Builder desiredWeight(Float 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
PendingProductionVariantSummary.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
PendingProductionVariantSummary.Builder desiredInstanceCount(Integer 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
PendingProductionVariantSummary.Builder instanceType(String 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:
ProductionVariantInstanceType,ProductionVariantInstanceType
-
instanceType
PendingProductionVariantSummary.Builder instanceType(ProductionVariantInstanceType 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:
ProductionVariantInstanceType,ProductionVariantInstanceType
-
acceleratorType
PendingProductionVariantSummary.Builder acceleratorType(String 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:
ProductionVariantAcceleratorType,ProductionVariantAcceleratorType
-
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:
ProductionVariantAcceleratorType,ProductionVariantAcceleratorType
-
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
PendingProductionVariantSummary.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
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.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
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.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
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.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)
-
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.Builderavoiding the need to create one manually viaProductionVariantManagedInstanceScaling.builder().When the
Consumercompletes,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
PendingProductionVariantSummary.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 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.Builderavoiding the need to create one manually viaProductionVariantRoutingConfig.builder().When the
Consumercompletes,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)
-
-