Struct aws_sdk_sagemaker::types::builders::VariantPropertyBuilder
source · #[non_exhaustive]pub struct VariantPropertyBuilder { /* private fields */ }
Expand description
A builder for VariantProperty
.
Implementations§
source§impl VariantPropertyBuilder
impl VariantPropertyBuilder
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
.
Trait Implementations§
source§impl Clone for VariantPropertyBuilder
impl Clone for VariantPropertyBuilder
source§fn clone(&self) -> VariantPropertyBuilder
fn clone(&self) -> VariantPropertyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariantPropertyBuilder
impl Debug for VariantPropertyBuilder
source§impl Default for VariantPropertyBuilder
impl Default for VariantPropertyBuilder
source§fn default() -> VariantPropertyBuilder
fn default() -> VariantPropertyBuilder
source§impl PartialEq<VariantPropertyBuilder> for VariantPropertyBuilder
impl PartialEq<VariantPropertyBuilder> for VariantPropertyBuilder
source§fn eq(&self, other: &VariantPropertyBuilder) -> bool
fn eq(&self, other: &VariantPropertyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.