Class CfnAppImageConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAppImageConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppImageConfigProps>
- Enclosing interface:
- CfnAppImageConfigProps
@Stability(Stable)
public static final class CfnAppImageConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppImageConfigProps>
A builder for
CfnAppImageConfigProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappImageConfigName(String appImageConfigName) Sets the value ofCfnAppImageConfigProps.getAppImageConfigName()build()Builds the configured instance.kernelGatewayImageConfig(IResolvable kernelGatewayImageConfig) Sets the value ofCfnAppImageConfigProps.getKernelGatewayImageConfig()kernelGatewayImageConfig(CfnAppImageConfig.KernelGatewayImageConfigProperty kernelGatewayImageConfig) Sets the value ofCfnAppImageConfigProps.getKernelGatewayImageConfig()Sets the value ofCfnAppImageConfigProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appImageConfigName
@Stability(Stable) public CfnAppImageConfigProps.Builder appImageConfigName(String appImageConfigName) Sets the value ofCfnAppImageConfigProps.getAppImageConfigName()- Parameters:
appImageConfigName- The name of the AppImageConfig. This parameter is required. Must be unique to your account.- Returns:
this
-
kernelGatewayImageConfig
@Stability(Stable) public CfnAppImageConfigProps.Builder kernelGatewayImageConfig(IResolvable kernelGatewayImageConfig) Sets the value ofCfnAppImageConfigProps.getKernelGatewayImageConfig()- Parameters:
kernelGatewayImageConfig- The configuration for the file system and kernels in the SageMaker image.- Returns:
this
-
kernelGatewayImageConfig
@Stability(Stable) public CfnAppImageConfigProps.Builder kernelGatewayImageConfig(CfnAppImageConfig.KernelGatewayImageConfigProperty kernelGatewayImageConfig) Sets the value ofCfnAppImageConfigProps.getKernelGatewayImageConfig()- Parameters:
kernelGatewayImageConfig- The configuration for the file system and kernels in the SageMaker image.- Returns:
this
-
tags
Sets the value ofCfnAppImageConfigProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppImageConfigProps>- Returns:
- a new instance of
CfnAppImageConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-