#[non_exhaustive]pub struct KernelGatewayImageConfigBuilder { /* private fields */ }
Expand description
A builder for KernelGatewayImageConfig
.
Implementations§
source§impl KernelGatewayImageConfigBuilder
impl KernelGatewayImageConfigBuilder
sourcepub fn kernel_specs(self, input: KernelSpec) -> Self
pub fn kernel_specs(self, input: KernelSpec) -> Self
Appends an item to kernel_specs
.
To override the contents of this collection use set_kernel_specs
.
The specification of the Jupyter kernels in the image.
sourcepub fn set_kernel_specs(self, input: Option<Vec<KernelSpec>>) -> Self
pub fn set_kernel_specs(self, input: Option<Vec<KernelSpec>>) -> Self
The specification of the Jupyter kernels in the image.
sourcepub fn get_kernel_specs(&self) -> &Option<Vec<KernelSpec>>
pub fn get_kernel_specs(&self) -> &Option<Vec<KernelSpec>>
The specification of the Jupyter kernels in the image.
sourcepub fn file_system_config(self, input: FileSystemConfig) -> Self
pub fn file_system_config(self, input: FileSystemConfig) -> Self
The Amazon Elastic File System storage configuration for a SageMaker image.
sourcepub fn set_file_system_config(self, input: Option<FileSystemConfig>) -> Self
pub fn set_file_system_config(self, input: Option<FileSystemConfig>) -> Self
The Amazon Elastic File System storage configuration for a SageMaker image.
sourcepub fn get_file_system_config(&self) -> &Option<FileSystemConfig>
pub fn get_file_system_config(&self) -> &Option<FileSystemConfig>
The Amazon Elastic File System storage configuration for a SageMaker image.
sourcepub fn build(self) -> KernelGatewayImageConfig
pub fn build(self) -> KernelGatewayImageConfig
Consumes the builder and constructs a KernelGatewayImageConfig
.
Trait Implementations§
source§impl Clone for KernelGatewayImageConfigBuilder
impl Clone for KernelGatewayImageConfigBuilder
source§fn clone(&self) -> KernelGatewayImageConfigBuilder
fn clone(&self) -> KernelGatewayImageConfigBuilder
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 Default for KernelGatewayImageConfigBuilder
impl Default for KernelGatewayImageConfigBuilder
source§fn default() -> KernelGatewayImageConfigBuilder
fn default() -> KernelGatewayImageConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KernelGatewayImageConfigBuilder
impl PartialEq for KernelGatewayImageConfigBuilder
source§fn eq(&self, other: &KernelGatewayImageConfigBuilder) -> bool
fn eq(&self, other: &KernelGatewayImageConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KernelGatewayImageConfigBuilder
Auto Trait Implementations§
impl Freeze for KernelGatewayImageConfigBuilder
impl RefUnwindSafe for KernelGatewayImageConfigBuilder
impl Send for KernelGatewayImageConfigBuilder
impl Sync for KernelGatewayImageConfigBuilder
impl Unpin for KernelGatewayImageConfigBuilder
impl UnwindSafe for KernelGatewayImageConfigBuilder
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.