Class CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.JupyterLabAppSettingsProperty>
- Enclosing interface:
CfnDomainPropsMixin.JupyterLabAppSettingsProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.JupyterLabAppSettingsProperty>
A builder for
CfnDomainPropsMixin.JupyterLabAppSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappLifecycleManagement(CfnDomainPropsMixin.AppLifecycleManagementProperty appLifecycleManagement) appLifecycleManagement(IResolvable appLifecycleManagement) build()Builds the configured instance.builtInLifecycleConfigArn(String builtInLifecycleConfigArn) codeRepositories(List<? extends Object> codeRepositories) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCodeRepositories()codeRepositories(IResolvable codeRepositories) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCodeRepositories()customImages(List<? extends Object> customImages) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCustomImages()customImages(IResolvable customImages) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCustomImages()defaultResourceSpec(CfnDomainPropsMixin.ResourceSpecProperty defaultResourceSpec) defaultResourceSpec(IResolvable defaultResourceSpec) lifecycleConfigArns(List<String> lifecycleConfigArns)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appLifecycleManagement
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder appLifecycleManagement(IResolvable appLifecycleManagement) - Parameters:
appLifecycleManagement- Indicates whether idle shutdown is activated for JupyterLab applications.- Returns:
this
-
appLifecycleManagement
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder appLifecycleManagement(CfnDomainPropsMixin.AppLifecycleManagementProperty appLifecycleManagement) - Parameters:
appLifecycleManagement- Indicates whether idle shutdown is activated for JupyterLab applications.- Returns:
this
-
builtInLifecycleConfigArn
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder builtInLifecycleConfigArn(String builtInLifecycleConfigArn) - Parameters:
builtInLifecycleConfigArn- The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.- Returns:
this
-
codeRepositories
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder codeRepositories(IResolvable codeRepositories) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCodeRepositories()- Parameters:
codeRepositories- A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.- Returns:
this
-
codeRepositories
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder codeRepositories(List<? extends Object> codeRepositories) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCodeRepositories()- Parameters:
codeRepositories- A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.- Returns:
this
-
customImages
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder customImages(IResolvable customImages) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCustomImages()- Parameters:
customImages- A list of custom SageMaker images that are configured to run as a JupyterLab app.- Returns:
this
-
customImages
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder customImages(List<? extends Object> customImages) Sets the value ofCfnDomainPropsMixin.JupyterLabAppSettingsProperty.getCustomImages()- Parameters:
customImages- A list of custom SageMaker images that are configured to run as a JupyterLab app.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) - Parameters:
defaultResourceSpec- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder defaultResourceSpec(CfnDomainPropsMixin.ResourceSpecProperty defaultResourceSpec) - Parameters:
defaultResourceSpec- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.- Returns:
this
-
lifecycleConfigArns
@Stability(Stable) public CfnDomainPropsMixin.JupyterLabAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) - Parameters:
lifecycleConfigArns- The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must setLifecycleConfigArnsto an empty list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.JupyterLabAppSettingsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.JupyterLabAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-