Struct aws_sdk_sagemaker::operation::create_app_image_config::builders::CreateAppImageConfigInputBuilder
source · #[non_exhaustive]pub struct CreateAppImageConfigInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppImageConfigInput
.
Implementations§
source§impl CreateAppImageConfigInputBuilder
impl CreateAppImageConfigInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateAppImageConfigInput, BuildError>
pub fn build(self) -> Result<CreateAppImageConfigInput, BuildError>
Consumes the builder and constructs a CreateAppImageConfigInput
.
source§impl CreateAppImageConfigInputBuilder
impl CreateAppImageConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateAppImageConfigOutput, SdkError<CreateAppImageConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateAppImageConfigOutput, SdkError<CreateAppImageConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppImageConfigInputBuilder
impl Clone for CreateAppImageConfigInputBuilder
source§fn clone(&self) -> CreateAppImageConfigInputBuilder
fn clone(&self) -> CreateAppImageConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateAppImageConfigInputBuilder
impl Default for CreateAppImageConfigInputBuilder
source§fn default() -> CreateAppImageConfigInputBuilder
fn default() -> CreateAppImageConfigInputBuilder
source§impl PartialEq for CreateAppImageConfigInputBuilder
impl PartialEq for CreateAppImageConfigInputBuilder
source§fn eq(&self, other: &CreateAppImageConfigInputBuilder) -> bool
fn eq(&self, other: &CreateAppImageConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAppImageConfigInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAppImageConfigInputBuilder
impl RefUnwindSafe for CreateAppImageConfigInputBuilder
impl Send for CreateAppImageConfigInputBuilder
impl Sync for CreateAppImageConfigInputBuilder
impl Unpin for CreateAppImageConfigInputBuilder
impl UnwindSafe for CreateAppImageConfigInputBuilder
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