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()
-
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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfile.JupyterServerAppSettingsProperty>- Returns:
- a new instance of
CfnUserProfile.JupyterServerAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-