#[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.
This field is required.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.
This field is required.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.
This field is required.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 for ModelVariantConfigSummaryBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ModelVariantConfigSummaryBuilder
Auto Trait Implementations§
impl Freeze for ModelVariantConfigSummaryBuilder
impl RefUnwindSafe for ModelVariantConfigSummaryBuilder
impl Send for ModelVariantConfigSummaryBuilder
impl Sync for ModelVariantConfigSummaryBuilder
impl Unpin for ModelVariantConfigSummaryBuilder
impl UnwindSafe for ModelVariantConfigSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more