Class CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppImageConfig.KernelGatewayImageConfigProperty>
- Enclosing interface:
CfnAppImageConfig.KernelGatewayImageConfigProperty
@Stability(Stable)
public static final class CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppImageConfig.KernelGatewayImageConfigProperty>
A builder for
CfnAppImageConfig.KernelGatewayImageConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fileSystemConfig
(IResolvable fileSystemConfig) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getFileSystemConfig()
fileSystemConfig
(CfnAppImageConfig.FileSystemConfigProperty fileSystemConfig) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getFileSystemConfig()
kernelSpecs
(List<? extends Object> kernelSpecs) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getKernelSpecs()
kernelSpecs
(IResolvable kernelSpecs) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getKernelSpecs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kernelSpecs
@Stability(Stable) public CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder kernelSpecs(IResolvable kernelSpecs) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getKernelSpecs()
- Parameters:
kernelSpecs
- The specification of the Jupyter kernels in the image. This parameter is required.- Returns:
this
-
kernelSpecs
@Stability(Stable) public CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder kernelSpecs(List<? extends Object> kernelSpecs) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getKernelSpecs()
- Parameters:
kernelSpecs
- The specification of the Jupyter kernels in the image. This parameter is required.- Returns:
this
-
fileSystemConfig
@Stability(Stable) public CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder fileSystemConfig(IResolvable fileSystemConfig) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getFileSystemConfig()
- Parameters:
fileSystemConfig
- The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.- Returns:
this
-
fileSystemConfig
@Stability(Stable) public CfnAppImageConfig.KernelGatewayImageConfigProperty.Builder fileSystemConfig(CfnAppImageConfig.FileSystemConfigProperty fileSystemConfig) Sets the value ofCfnAppImageConfig.KernelGatewayImageConfigProperty.getFileSystemConfig()
- Parameters:
fileSystemConfig
- The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAppImageConfig.KernelGatewayImageConfigProperty>
- Returns:
- a new instance of
CfnAppImageConfig.KernelGatewayImageConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-