Struct aws_sdk_sagemaker::model::VariantProperty
source · [−]#[non_exhaustive]pub struct VariantProperty { /* private fields */ }Expand description
Specifies a production variant property type for an Endpoint.
If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties override the existing variant properties of the endpoint.
Implementations
sourceimpl VariantProperty
impl VariantProperty
sourcepub fn variant_property_type(&self) -> Option<&VariantPropertyType>
pub fn variant_property_type(&self) -> Option<&VariantPropertyType>
The type of variant property. The supported values are:
-
DesiredInstanceCount: Overrides the existing variant instance counts using theProductionVariant$InitialInstanceCountvalues in theCreateEndpointConfigInput$ProductionVariants. -
DesiredWeight: Overrides the existing variant weights using theProductionVariant$InitialVariantWeightvalues in theCreateEndpointConfigInput$ProductionVariants. -
DataCaptureConfig: (Not currently supported.)
sourceimpl VariantProperty
impl VariantProperty
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VariantProperty.
Trait Implementations
sourceimpl Clone for VariantProperty
impl Clone for VariantProperty
sourcefn clone(&self) -> VariantProperty
fn clone(&self) -> VariantProperty
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more