Class CfnDomain.JupyterLabAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.JupyterLabAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.JupyterLabAppSettingsProperty>
- Enclosing interface:
CfnDomain.JupyterLabAppSettingsProperty
@Stability(Stable)
public static final class CfnDomain.JupyterLabAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.JupyterLabAppSettingsProperty>
A builder for
CfnDomain.JupyterLabAppSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappLifecycleManagement
(IResolvable appLifecycleManagement) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getAppLifecycleManagement()
appLifecycleManagement
(CfnDomain.AppLifecycleManagementProperty appLifecycleManagement) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getAppLifecycleManagement()
build()
Builds the configured instance.codeRepositories
(List<? extends Object> codeRepositories) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getCodeRepositories()
codeRepositories
(IResolvable codeRepositories) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getCodeRepositories()
customImages
(List<? extends Object> customImages) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getCustomImages()
customImages
(IResolvable customImages) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getCustomImages()
defaultResourceSpec
(IResolvable defaultResourceSpec) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getDefaultResourceSpec()
defaultResourceSpec
(CfnDomain.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getDefaultResourceSpec()
lifecycleConfigArns
(List<String> lifecycleConfigArns) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getLifecycleConfigArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appLifecycleManagement
@Stability(Stable) public CfnDomain.JupyterLabAppSettingsProperty.Builder appLifecycleManagement(IResolvable appLifecycleManagement) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getAppLifecycleManagement()
- Parameters:
appLifecycleManagement
- Indicates whether idle shutdown is activated for JupyterLab applications.- Returns:
this
-
appLifecycleManagement
@Stability(Stable) public CfnDomain.JupyterLabAppSettingsProperty.Builder appLifecycleManagement(CfnDomain.AppLifecycleManagementProperty appLifecycleManagement) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getAppLifecycleManagement()
- Parameters:
appLifecycleManagement
- Indicates whether idle shutdown is activated for JupyterLab applications.- Returns:
this
-
codeRepositories
@Stability(Stable) public CfnDomain.JupyterLabAppSettingsProperty.Builder codeRepositories(IResolvable codeRepositories) Sets the value ofCfnDomain.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 CfnDomain.JupyterLabAppSettingsProperty.Builder codeRepositories(List<? extends Object> codeRepositories) Sets the value ofCfnDomain.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 CfnDomain.JupyterLabAppSettingsProperty.Builder customImages(IResolvable customImages) Sets the value ofCfnDomain.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 CfnDomain.JupyterLabAppSettingsProperty.Builder customImages(List<? extends Object> customImages) Sets the value ofCfnDomain.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 CfnDomain.JupyterLabAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getDefaultResourceSpec()
- 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 CfnDomain.JupyterLabAppSettingsProperty.Builder defaultResourceSpec(CfnDomain.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getDefaultResourceSpec()
- 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 CfnDomain.JupyterLabAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) Sets the value ofCfnDomain.JupyterLabAppSettingsProperty.getLifecycleConfigArns()
- 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 setLifecycleConfigArns
to an empty list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.JupyterLabAppSettingsProperty>
- Returns:
- a new instance of
CfnDomain.JupyterLabAppSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-