Struct aws_sdk_sagemaker::model::variant_property::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for VariantProperty.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn variant_property_type(self, input: VariantPropertyType) -> Self
pub fn variant_property_type(self, input: VariantPropertyType) -> Self
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.)
sourcepub fn set_variant_property_type(
self,
input: Option<VariantPropertyType>
) -> Self
pub fn set_variant_property_type(
self,
input: Option<VariantPropertyType>
) -> Self
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.)
sourcepub fn build(self) -> VariantProperty
pub fn build(self) -> VariantProperty
Consumes the builder and constructs a VariantProperty.