Struct aws_sdk_sagemaker::model::production_variant::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ProductionVariant
Implementations
The name of the production variant.
The name of the production variant.
The name of the model that you want to host. This is the name that you specified when creating the model.
The name of the model that you want to host. This is the name that you specified when creating the model.
Number of instances to launch initially.
Number of instances to launch initially.
The ML compute instance type.
The ML compute instance type.
Determines initial traffic distribution among all of the models that you specify in
the endpoint configuration. The traffic to a production variant is determined by the
ratio of the VariantWeight
to the sum of all VariantWeight
values across all ProductionVariants. If unspecified, it defaults to 1.0.
Determines initial traffic distribution among all of the models that you specify in
the endpoint configuration. The traffic to a production variant is determined by the
ratio of the VariantWeight
to the sum of all VariantWeight
values across all ProductionVariants. If unspecified, it defaults to 1.0.
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.
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.
Specifies configuration for a core dump from the model container when the process crashes.
Specifies configuration for a core dump from the model container when the process crashes.
Consumes the builder and constructs a ProductionVariant
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