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.
This field is required.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 get_source_model_variant_name(&self) -> &Option<String>
pub fn get_source_model_variant_name(&self) -> &Option<String>
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 get_shadow_model_variants(
&self,
) -> &Option<Vec<ShadowModelVariantConfig>>
pub fn get_shadow_model_variants( &self, ) -> &Option<Vec<ShadowModelVariantConfig>>
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 for ShadowModeConfigBuilder
impl PartialEq for ShadowModeConfigBuilder
impl StructuralPartialEq for ShadowModeConfigBuilder
Auto Trait Implementations§
impl Freeze for ShadowModeConfigBuilder
impl RefUnwindSafe for ShadowModeConfigBuilder
impl Send for ShadowModeConfigBuilder
impl Sync for ShadowModeConfigBuilder
impl Unpin for ShadowModeConfigBuilder
impl UnwindSafe for ShadowModeConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.