#[non_exhaustive]pub struct ModelConfigurationBuilder { /* private fields */ }
Expand description
A builder for ModelConfiguration
.
Implementations§
source§impl ModelConfigurationBuilder
impl ModelConfigurationBuilder
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 compilation_job_name(self, input: impl Into<String>) -> Self
pub fn compilation_job_name(self, input: impl Into<String>) -> Self
The name of the compilation job used to create the recommended model artifacts.
sourcepub fn set_compilation_job_name(self, input: Option<String>) -> Self
pub fn set_compilation_job_name(self, input: Option<String>) -> Self
The name of the compilation job used to create the recommended model artifacts.
sourcepub fn build(self) -> ModelConfiguration
pub fn build(self) -> ModelConfiguration
Consumes the builder and constructs a ModelConfiguration
.
Trait Implementations§
source§impl Clone for ModelConfigurationBuilder
impl Clone for ModelConfigurationBuilder
source§fn clone(&self) -> ModelConfigurationBuilder
fn clone(&self) -> ModelConfigurationBuilder
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 ModelConfigurationBuilder
impl Debug for ModelConfigurationBuilder
source§impl Default for ModelConfigurationBuilder
impl Default for ModelConfigurationBuilder
source§fn default() -> ModelConfigurationBuilder
fn default() -> ModelConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ModelConfigurationBuilder> for ModelConfigurationBuilder
impl PartialEq<ModelConfigurationBuilder> for ModelConfigurationBuilder
source§fn eq(&self, other: &ModelConfigurationBuilder) -> bool
fn eq(&self, other: &ModelConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.