Struct aws_sdk_sagemaker::model::production_variant_summary::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ProductionVariantSummary
Implementations
The name of the variant.
The name of the variant.
Appends an item to deployed_images
.
To override the contents of this collection use set_deployed_images
.
An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant
.
An array of DeployedImage
objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant
.
The weight associated with the variant.
The weight associated with the variant.
The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
request.
The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
request.
The number of instances associated with the variant.
The number of instances associated with the variant.
The number of instances requested in the UpdateEndpointWeightsAndCapacities
request.
The number of instances requested in the UpdateEndpointWeightsAndCapacities
request.
Appends an item to variant_status
.
To override the contents of this collection use set_variant_status
.
The endpoint variant status which describes the current deployment stage status or operational status.
The endpoint variant status which describes the current deployment stage status or operational status.
The serverless configuration for the endpoint.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
pub fn set_current_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
pub fn set_current_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
The serverless configuration for the endpoint.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
The serverless configuration requested for the endpoint update.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
pub fn set_desired_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
pub fn set_desired_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>
) -> Self
The serverless configuration requested for the endpoint update.
Serverless Inference is in preview release for Amazon SageMaker and is subject to change. We do not recommend using this feature in production environments.
Consumes the builder and constructs a ProductionVariantSummary
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more