pub struct Builder { /* private fields */ }
Expand description
A builder for ModelVariantConfigSummary
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> ModelVariantConfigSummary
pub fn build(self) -> ModelVariantConfigSummary
Consumes the builder and constructs a ModelVariantConfigSummary
.