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 (EFS) 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.
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 more