#[non_exhaustive]pub struct KernelGatewayAppSettingsBuilder { /* private fields */ }
Expand description
A builder for KernelGatewayAppSettings
.
Implementations§
source§impl KernelGatewayAppSettingsBuilder
impl KernelGatewayAppSettingsBuilder
sourcepub fn default_resource_spec(self, input: ResourceSpec) -> Self
pub fn default_resource_spec(self, input: ResourceSpec) -> Self
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
sourcepub fn set_default_resource_spec(self, input: Option<ResourceSpec>) -> Self
pub fn set_default_resource_spec(self, input: Option<ResourceSpec>) -> Self
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
sourcepub fn get_default_resource_spec(&self) -> &Option<ResourceSpec>
pub fn get_default_resource_spec(&self) -> &Option<ResourceSpec>
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
sourcepub fn custom_images(self, input: CustomImage) -> Self
pub fn custom_images(self, input: CustomImage) -> Self
Appends an item to custom_images
.
To override the contents of this collection use set_custom_images
.
A list of custom SageMaker images that are configured to run as a KernelGateway app.
sourcepub fn set_custom_images(self, input: Option<Vec<CustomImage>>) -> Self
pub fn set_custom_images(self, input: Option<Vec<CustomImage>>) -> Self
A list of custom SageMaker images that are configured to run as a KernelGateway app.
sourcepub fn get_custom_images(&self) -> &Option<Vec<CustomImage>>
pub fn get_custom_images(&self) -> &Option<Vec<CustomImage>>
A list of custom SageMaker images that are configured to run as a KernelGateway app.
sourcepub fn lifecycle_config_arns(self, input: impl Into<String>) -> Self
pub fn lifecycle_config_arns(self, input: impl Into<String>) -> Self
Appends an item to lifecycle_config_arns
.
To override the contents of this collection use set_lifecycle_config_arns
.
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
sourcepub fn set_lifecycle_config_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_lifecycle_config_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
sourcepub fn get_lifecycle_config_arns(&self) -> &Option<Vec<String>>
pub fn get_lifecycle_config_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.
sourcepub fn build(self) -> KernelGatewayAppSettings
pub fn build(self) -> KernelGatewayAppSettings
Consumes the builder and constructs a KernelGatewayAppSettings
.
Trait Implementations§
source§impl Clone for KernelGatewayAppSettingsBuilder
impl Clone for KernelGatewayAppSettingsBuilder
source§fn clone(&self) -> KernelGatewayAppSettingsBuilder
fn clone(&self) -> KernelGatewayAppSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for KernelGatewayAppSettingsBuilder
impl Default for KernelGatewayAppSettingsBuilder
source§fn default() -> KernelGatewayAppSettingsBuilder
fn default() -> KernelGatewayAppSettingsBuilder
source§impl PartialEq for KernelGatewayAppSettingsBuilder
impl PartialEq for KernelGatewayAppSettingsBuilder
source§fn eq(&self, other: &KernelGatewayAppSettingsBuilder) -> bool
fn eq(&self, other: &KernelGatewayAppSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KernelGatewayAppSettingsBuilder
Auto Trait Implementations§
impl Freeze for KernelGatewayAppSettingsBuilder
impl RefUnwindSafe for KernelGatewayAppSettingsBuilder
impl Send for KernelGatewayAppSettingsBuilder
impl Sync for KernelGatewayAppSettingsBuilder
impl Unpin for KernelGatewayAppSettingsBuilder
impl UnwindSafe for KernelGatewayAppSettingsBuilder
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
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)
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>
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>
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 more