Struct aws_sdk_sagemaker::model::ShadowModelVariantConfig
source · #[non_exhaustive]pub struct ShadowModelVariantConfig { /* private fields */ }
Expand description
The name and sampling percentage of a shadow variant.
Implementations§
source§impl ShadowModelVariantConfig
impl ShadowModelVariantConfig
sourcepub fn shadow_model_variant_name(&self) -> Option<&str>
pub fn shadow_model_variant_name(&self) -> Option<&str>
The name of the shadow variant.
sourcepub fn sampling_percentage(&self) -> i32
pub fn sampling_percentage(&self) -> i32
The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
source§impl ShadowModelVariantConfig
impl ShadowModelVariantConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ShadowModelVariantConfig
.
Trait Implementations§
source§impl Clone for ShadowModelVariantConfig
impl Clone for ShadowModelVariantConfig
source§fn clone(&self) -> ShadowModelVariantConfig
fn clone(&self) -> ShadowModelVariantConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShadowModelVariantConfig
impl Debug for ShadowModelVariantConfig
source§impl PartialEq<ShadowModelVariantConfig> for ShadowModelVariantConfig
impl PartialEq<ShadowModelVariantConfig> for ShadowModelVariantConfig
source§fn eq(&self, other: &ShadowModelVariantConfig) -> bool
fn eq(&self, other: &ShadowModelVariantConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.