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