Struct aws_sdk_sagemaker::types::builders::ShadowModeConfigBuilder
source · #[non_exhaustive]pub struct ShadowModeConfigBuilder { /* private fields */ }
Expand description
A builder for ShadowModeConfig
.
Implementations§
source§impl ShadowModeConfigBuilder
impl ShadowModeConfigBuilder
sourcepub fn source_model_variant_name(self, input: impl Into<String>) -> Self
pub fn source_model_variant_name(self, input: impl Into<String>) -> Self
The name of the production variant, which takes all the inference requests.
sourcepub fn set_source_model_variant_name(self, input: Option<String>) -> Self
pub fn set_source_model_variant_name(self, input: Option<String>) -> Self
The name of the production variant, which takes all the inference requests.
sourcepub fn shadow_model_variants(self, input: ShadowModelVariantConfig) -> Self
pub fn shadow_model_variants(self, input: ShadowModelVariantConfig) -> Self
Appends an item to shadow_model_variants
.
To override the contents of this collection use set_shadow_model_variants
.
List of shadow variant configurations.
sourcepub fn set_shadow_model_variants(
self,
input: Option<Vec<ShadowModelVariantConfig>>
) -> Self
pub fn set_shadow_model_variants( self, input: Option<Vec<ShadowModelVariantConfig>> ) -> Self
List of shadow variant configurations.
sourcepub fn build(self) -> ShadowModeConfig
pub fn build(self) -> ShadowModeConfig
Consumes the builder and constructs a ShadowModeConfig
.
Trait Implementations§
source§impl Clone for ShadowModeConfigBuilder
impl Clone for ShadowModeConfigBuilder
source§fn clone(&self) -> ShadowModeConfigBuilder
fn clone(&self) -> ShadowModeConfigBuilder
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 ShadowModeConfigBuilder
impl Debug for ShadowModeConfigBuilder
source§impl Default for ShadowModeConfigBuilder
impl Default for ShadowModeConfigBuilder
source§fn default() -> ShadowModeConfigBuilder
fn default() -> ShadowModeConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ShadowModeConfigBuilder> for ShadowModeConfigBuilder
impl PartialEq<ShadowModeConfigBuilder> for ShadowModeConfigBuilder
source§fn eq(&self, other: &ShadowModeConfigBuilder) -> bool
fn eq(&self, other: &ShadowModeConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.