#[non_exhaustive]pub struct ModelVariantConfigSummaryBuilder { /* private fields */ }
Expand description
A builder for ModelVariantConfigSummary
.
Implementations§
source§impl ModelVariantConfigSummaryBuilder
impl ModelVariantConfigSummaryBuilder
sourcepub fn model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
The name of the Amazon SageMaker Model entity.
sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
The name of the Amazon SageMaker Model entity.
sourcepub fn get_model_name(&self) -> &Option<String>
pub fn get_model_name(&self) -> &Option<String>
The name of the Amazon SageMaker Model entity.
sourcepub fn variant_name(self, input: impl Into<String>) -> Self
pub fn variant_name(self, input: impl Into<String>) -> Self
The name of the variant.
sourcepub fn set_variant_name(self, input: Option<String>) -> Self
pub fn set_variant_name(self, input: Option<String>) -> Self
The name of the variant.
sourcepub fn get_variant_name(&self) -> &Option<String>
pub fn get_variant_name(&self) -> &Option<String>
The name of the variant.
sourcepub fn infrastructure_config(self, input: ModelInfrastructureConfig) -> Self
pub fn infrastructure_config(self, input: ModelInfrastructureConfig) -> Self
The configuration of the infrastructure that the model has been deployed to.
sourcepub fn set_infrastructure_config(
self,
input: Option<ModelInfrastructureConfig>
) -> Self
pub fn set_infrastructure_config( self, input: Option<ModelInfrastructureConfig> ) -> Self
The configuration of the infrastructure that the model has been deployed to.
sourcepub fn get_infrastructure_config(&self) -> &Option<ModelInfrastructureConfig>
pub fn get_infrastructure_config(&self) -> &Option<ModelInfrastructureConfig>
The configuration of the infrastructure that the model has been deployed to.
sourcepub fn status(self, input: ModelVariantStatus) -> Self
pub fn status(self, input: ModelVariantStatus) -> Self
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
sourcepub fn set_status(self, input: Option<ModelVariantStatus>) -> Self
pub fn set_status(self, input: Option<ModelVariantStatus>) -> Self
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
sourcepub fn get_status(&self) -> &Option<ModelVariantStatus>
pub fn get_status(&self) -> &Option<ModelVariantStatus>
The status of deployment for the model variant on the hosted inference endpoint.
-
Creating
- Amazon SageMaker is preparing the model variant on the hosted inference endpoint. -
InService
- The model variant is running on the hosted inference endpoint. -
Updating
- Amazon SageMaker is updating the model variant on the hosted inference endpoint. -
Deleting
- Amazon SageMaker is deleting the model variant on the hosted inference endpoint. -
Deleted
- The model variant has been deleted on the hosted inference endpoint. This can only happen after stopping the experiment.
sourcepub fn build(self) -> ModelVariantConfigSummary
pub fn build(self) -> ModelVariantConfigSummary
Consumes the builder and constructs a ModelVariantConfigSummary
.
Trait Implementations§
source§impl Clone for ModelVariantConfigSummaryBuilder
impl Clone for ModelVariantConfigSummaryBuilder
source§fn clone(&self) -> ModelVariantConfigSummaryBuilder
fn clone(&self) -> ModelVariantConfigSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModelVariantConfigSummaryBuilder
impl Default for ModelVariantConfigSummaryBuilder
source§fn default() -> ModelVariantConfigSummaryBuilder
fn default() -> ModelVariantConfigSummaryBuilder
source§impl PartialEq<ModelVariantConfigSummaryBuilder> for ModelVariantConfigSummaryBuilder
impl PartialEq<ModelVariantConfigSummaryBuilder> for ModelVariantConfigSummaryBuilder
source§fn eq(&self, other: &ModelVariantConfigSummaryBuilder) -> bool
fn eq(&self, other: &ModelVariantConfigSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.