Class CfnAppImageConfig.KernelSpecProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAppImageConfig.KernelSpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppImageConfig.KernelSpecProperty>
- Enclosing interface:
CfnAppImageConfig.KernelSpecProperty
@Stability(Stable)
public static final class CfnAppImageConfig.KernelSpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppImageConfig.KernelSpecProperty>
A builder for
CfnAppImageConfig.KernelSpecProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.displayName
(String displayName) Sets the value ofCfnAppImageConfig.KernelSpecProperty.getDisplayName()
Sets the value ofCfnAppImageConfig.KernelSpecProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnAppImageConfig.KernelSpecProperty.getName()
- Parameters:
name
- The name of the Jupyter kernel in the image. This parameter is required. This value is case sensitive.- Returns:
this
-
displayName
@Stability(Stable) public CfnAppImageConfig.KernelSpecProperty.Builder displayName(String displayName) Sets the value ofCfnAppImageConfig.KernelSpecProperty.getDisplayName()
- Parameters:
displayName
- The display name of the kernel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAppImageConfig.KernelSpecProperty>
- Returns:
- a new instance of
CfnAppImageConfig.KernelSpecProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-