Class CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty>
- Enclosing interface:
CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty
@Stability(Stable)
public static final class CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultResourceSpec(CfnUserProfilePropsMixin.ResourceSpecProperty defaultResourceSpec) defaultResourceSpec(IResolvable defaultResourceSpec) lifecycleConfigArns(List<String> lifecycleConfigArns)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultResourceSpec
@Stability(Stable) public CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnUserProfilePropsMixin.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 CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.Builder defaultResourceSpec(CfnUserProfilePropsMixin.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnUserProfilePropsMixin.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 CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) Sets the value ofCfnUserProfilePropsMixin.JupyterServerAppSettingsProperty.getLifecycleConfigArns()- 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<CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty>- Returns:
- a new instance of
CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-