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