Struct aws_sdk_sagemaker::model::inference_execution_config::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for InferenceExecutionConfig.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn mode(self, input: InferenceExecutionMode) -> Self
pub fn mode(self, input: InferenceExecutionMode) -> Self
How containers in a multi-container are run. The following values are valid.
-
SERIAL- Containers run as a serial pipeline. -
DIRECT- Only the individual container that you specify is run.
sourcepub fn set_mode(self, input: Option<InferenceExecutionMode>) -> Self
pub fn set_mode(self, input: Option<InferenceExecutionMode>) -> Self
How containers in a multi-container are run. The following values are valid.
-
SERIAL- Containers run as a serial pipeline. -
DIRECT- Only the individual container that you specify is run.
sourcepub fn build(self) -> InferenceExecutionConfig
pub fn build(self) -> InferenceExecutionConfig
Consumes the builder and constructs a InferenceExecutionConfig.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more