#[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 Amazon Web Services Command Line Interface or Amazon Web Services 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 Amazon Web Services Command Line Interface or Amazon Web Services 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 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 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<KernelGatewayAppSettingsBuilder> for KernelGatewayAppSettingsBuilder
impl PartialEq<KernelGatewayAppSettingsBuilder> 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 ==
.