Struct aws_sdk_sagemaker::model::shadow_mode_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ShadowModeConfig
.
Implementations§
source§impl Builder
impl Builder
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
.