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