Struct aws_sdk_sagemaker::model::variant_property::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VariantProperty
.
Implementations§
source§impl 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$InitialInstanceCount
values in theCreateEndpointConfigInput$ProductionVariants
. -
DesiredWeight
: Overrides the existing variant weights using theProductionVariant$InitialVariantWeight
values 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$InitialInstanceCount
values in theCreateEndpointConfigInput$ProductionVariants
. -
DesiredWeight
: Overrides the existing variant weights using theProductionVariant$InitialVariantWeight
values in theCreateEndpointConfigInput$ProductionVariants
. -
DataCaptureConfig
: (Not currently supported.)
sourcepub fn build(self) -> VariantProperty
pub fn build(self) -> VariantProperty
Consumes the builder and constructs a VariantProperty
.