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