Class CfnSpace.JupyterServerAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.JupyterServerAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.JupyterServerAppSettingsProperty>
- Enclosing interface:
CfnSpace.JupyterServerAppSettingsProperty
@Stability(Stable)
public static final class CfnSpace.JupyterServerAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.JupyterServerAppSettingsProperty>
A builder for
CfnSpace.JupyterServerAppSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultResourceSpec
(IResolvable defaultResourceSpec) Sets the value ofCfnSpace.JupyterServerAppSettingsProperty.getDefaultResourceSpec()
defaultResourceSpec
(CfnSpace.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnSpace.JupyterServerAppSettingsProperty.getDefaultResourceSpec()
lifecycleConfigArns
(List<String> lifecycleConfigArns) Sets the value ofCfnSpace.JupyterServerAppSettingsProperty.getLifecycleConfigArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultResourceSpec
@Stability(Stable) public CfnSpace.JupyterServerAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnSpace.JupyterServerAppSettingsProperty.getDefaultResourceSpec()
- Parameters:
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use theLifecycleConfigArns
parameter, then this parameter is also required.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnSpace.JupyterServerAppSettingsProperty.Builder defaultResourceSpec(CfnSpace.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnSpace.JupyterServerAppSettingsProperty.getDefaultResourceSpec()
- Parameters:
defaultResourceSpec
- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use theLifecycleConfigArns
parameter, then this parameter is also required.- Returns:
this
-
lifecycleConfigArns
@Stability(Stable) public CfnSpace.JupyterServerAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) Sets the value ofCfnSpace.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<CfnSpace.JupyterServerAppSettingsProperty>
- Returns:
- a new instance of
CfnSpace.JupyterServerAppSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-