Struct aws_sdk_sagemaker::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder
source · pub struct CreateAppImageConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAppImageConfig
.
Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System storage volume on the image, and a list of the kernels in the image.
Implementations§
source§impl CreateAppImageConfigFluentBuilder
impl CreateAppImageConfigFluentBuilder
sourcepub fn as_input(&self) -> &CreateAppImageConfigInputBuilder
pub fn as_input(&self) -> &CreateAppImageConfigInputBuilder
Access the CreateAppImageConfig as a reference.
sourcepub async fn send(
self,
) -> Result<CreateAppImageConfigOutput, SdkError<CreateAppImageConfigError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateAppImageConfigOutput, SdkError<CreateAppImageConfigError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateAppImageConfigOutput, CreateAppImageConfigError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateAppImageConfigOutput, CreateAppImageConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn app_image_config_name(self, input: impl Into<String>) -> Self
pub fn app_image_config_name(self, input: impl Into<String>) -> Self
The name of the AppImageConfig. Must be unique to your account.
sourcepub fn set_app_image_config_name(self, input: Option<String>) -> Self
pub fn set_app_image_config_name(self, input: Option<String>) -> Self
The name of the AppImageConfig. Must be unique to your account.
sourcepub fn get_app_image_config_name(&self) -> &Option<String>
pub fn get_app_image_config_name(&self) -> &Option<String>
The name of the AppImageConfig. Must be unique to your account.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to apply to the AppImageConfig.
A list of tags to apply to the AppImageConfig.
A list of tags to apply to the AppImageConfig.
sourcepub fn kernel_gateway_image_config(
self,
input: KernelGatewayImageConfig,
) -> Self
pub fn kernel_gateway_image_config( self, input: KernelGatewayImageConfig, ) -> Self
The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.
sourcepub fn set_kernel_gateway_image_config(
self,
input: Option<KernelGatewayImageConfig>,
) -> Self
pub fn set_kernel_gateway_image_config( self, input: Option<KernelGatewayImageConfig>, ) -> Self
The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.
sourcepub fn get_kernel_gateway_image_config(
&self,
) -> &Option<KernelGatewayImageConfig>
pub fn get_kernel_gateway_image_config( &self, ) -> &Option<KernelGatewayImageConfig>
The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.
sourcepub fn jupyter_lab_app_image_config(
self,
input: JupyterLabAppImageConfig,
) -> Self
pub fn jupyter_lab_app_image_config( self, input: JupyterLabAppImageConfig, ) -> Self
The JupyterLabAppImageConfig
. You can only specify one image kernel in the AppImageConfig
API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.
sourcepub fn set_jupyter_lab_app_image_config(
self,
input: Option<JupyterLabAppImageConfig>,
) -> Self
pub fn set_jupyter_lab_app_image_config( self, input: Option<JupyterLabAppImageConfig>, ) -> Self
The JupyterLabAppImageConfig
. You can only specify one image kernel in the AppImageConfig
API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.
sourcepub fn get_jupyter_lab_app_image_config(
&self,
) -> &Option<JupyterLabAppImageConfig>
pub fn get_jupyter_lab_app_image_config( &self, ) -> &Option<JupyterLabAppImageConfig>
The JupyterLabAppImageConfig
. You can only specify one image kernel in the AppImageConfig
API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.
sourcepub fn code_editor_app_image_config(
self,
input: CodeEditorAppImageConfig,
) -> Self
pub fn code_editor_app_image_config( self, input: CodeEditorAppImageConfig, ) -> Self
The CodeEditorAppImageConfig
. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in Code Editor.
sourcepub fn set_code_editor_app_image_config(
self,
input: Option<CodeEditorAppImageConfig>,
) -> Self
pub fn set_code_editor_app_image_config( self, input: Option<CodeEditorAppImageConfig>, ) -> Self
The CodeEditorAppImageConfig
. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in Code Editor.
sourcepub fn get_code_editor_app_image_config(
&self,
) -> &Option<CodeEditorAppImageConfig>
pub fn get_code_editor_app_image_config( &self, ) -> &Option<CodeEditorAppImageConfig>
The CodeEditorAppImageConfig
. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in Code Editor.
Trait Implementations§
source§impl Clone for CreateAppImageConfigFluentBuilder
impl Clone for CreateAppImageConfigFluentBuilder
source§fn clone(&self) -> CreateAppImageConfigFluentBuilder
fn clone(&self) -> CreateAppImageConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateAppImageConfigFluentBuilder
impl !RefUnwindSafe for CreateAppImageConfigFluentBuilder
impl Send for CreateAppImageConfigFluentBuilder
impl Sync for CreateAppImageConfigFluentBuilder
impl Unpin for CreateAppImageConfigFluentBuilder
impl !UnwindSafe for CreateAppImageConfigFluentBuilder
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