Class CfnSpacePropsMixin.JupyterServerAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnSpacePropsMixin.JupyterServerAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpacePropsMixin.JupyterServerAppSettingsProperty>
- Enclosing interface:
CfnSpacePropsMixin.JupyterServerAppSettingsProperty
@Stability(Stable)
public static final class CfnSpacePropsMixin.JupyterServerAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpacePropsMixin.JupyterServerAppSettingsProperty>
A builder for
CfnSpacePropsMixin.JupyterServerAppSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultResourceSpec(CfnSpacePropsMixin.ResourceSpecProperty defaultResourceSpec) defaultResourceSpec(IResolvable defaultResourceSpec) lifecycleConfigArns(List<String> lifecycleConfigArns)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultResourceSpec
@Stability(Stable) public CfnSpacePropsMixin.JupyterServerAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) - Parameters:
defaultResourceSpec- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the JupyterServer app. If you use theLifecycleConfigArnsparameter, then this parameter is also required.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnSpacePropsMixin.JupyterServerAppSettingsProperty.Builder defaultResourceSpec(CfnSpacePropsMixin.ResourceSpecProperty defaultResourceSpec) - Parameters:
defaultResourceSpec- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the JupyterServer app. If you use theLifecycleConfigArnsparameter, then this parameter is also required.- Returns:
this
-
lifecycleConfigArns
@Stability(Stable) public CfnSpacePropsMixin.JupyterServerAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) - Parameters:
lifecycleConfigArns- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, theDefaultResourceSpecparameter is also required.To remove a Lifecycle Config, you must set
LifecycleConfigArnsto an empty list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpacePropsMixin.JupyterServerAppSettingsProperty>- Returns:
- a new instance of
CfnSpacePropsMixin.JupyterServerAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-