Struct aws_sdk_sagemaker::model::model_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ModelConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn inference_specification_name(self, input: impl Into<String>) -> Self
pub fn inference_specification_name(self, input: impl Into<String>) -> Self
The inference specification name in the model package version.
sourcepub fn set_inference_specification_name(self, input: Option<String>) -> Self
pub fn set_inference_specification_name(self, input: Option<String>) -> Self
The inference specification name in the model package version.
sourcepub fn environment_parameters(self, input: EnvironmentParameter) -> Self
pub fn environment_parameters(self, input: EnvironmentParameter) -> Self
Appends an item to environment_parameters
.
To override the contents of this collection use set_environment_parameters
.
Defines the environment parameters that includes key, value types, and values.
sourcepub fn set_environment_parameters(
self,
input: Option<Vec<EnvironmentParameter>>
) -> Self
pub fn set_environment_parameters(
self,
input: Option<Vec<EnvironmentParameter>>
) -> Self
Defines the environment parameters that includes key, value types, and values.
sourcepub fn build(self) -> ModelConfiguration
pub fn build(self) -> ModelConfiguration
Consumes the builder and constructs a ModelConfiguration
.