Class CfnSpace.SpaceSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.SpaceSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.SpaceSettingsProperty>
- Enclosing interface:
CfnSpace.SpaceSettingsProperty
@Stability(Stable)
public static final class CfnSpace.SpaceSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.SpaceSettingsProperty>
A builder for
CfnSpace.SpaceSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSpace.SpaceSettingsProperty.getAppType()build()Builds the configured instance.codeEditorAppSettings(IResolvable codeEditorAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getCodeEditorAppSettings()codeEditorAppSettings(CfnSpace.SpaceCodeEditorAppSettingsProperty codeEditorAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getCodeEditorAppSettings()customFileSystems(List<? extends Object> customFileSystems) Sets the value ofCfnSpace.SpaceSettingsProperty.getCustomFileSystems()customFileSystems(IResolvable customFileSystems) Sets the value ofCfnSpace.SpaceSettingsProperty.getCustomFileSystems()jupyterLabAppSettings(IResolvable jupyterLabAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterLabAppSettings()jupyterLabAppSettings(CfnSpace.SpaceJupyterLabAppSettingsProperty jupyterLabAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterLabAppSettings()jupyterServerAppSettings(IResolvable jupyterServerAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterServerAppSettings()jupyterServerAppSettings(CfnSpace.JupyterServerAppSettingsProperty jupyterServerAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterServerAppSettings()kernelGatewayAppSettings(IResolvable kernelGatewayAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getKernelGatewayAppSettings()kernelGatewayAppSettings(CfnSpace.KernelGatewayAppSettingsProperty kernelGatewayAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getKernelGatewayAppSettings()remoteAccess(String remoteAccess) Sets the value ofCfnSpace.SpaceSettingsProperty.getRemoteAccess()spaceManagedResources(String spaceManagedResources) Sets the value ofCfnSpace.SpaceSettingsProperty.getSpaceManagedResources()spaceStorageSettings(IResolvable spaceStorageSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getSpaceStorageSettings()spaceStorageSettings(CfnSpace.SpaceStorageSettingsProperty spaceStorageSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getSpaceStorageSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appType
Sets the value ofCfnSpace.SpaceSettingsProperty.getAppType()- Parameters:
appType- The type of app created within the space. If using the UpdateSpace API, you can't change the app type of your space by specifying a different value for this field.- Returns:
this
-
codeEditorAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder codeEditorAppSettings(IResolvable codeEditorAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getCodeEditorAppSettings()- Parameters:
codeEditorAppSettings- The Code Editor application settings.- Returns:
this
-
codeEditorAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder codeEditorAppSettings(CfnSpace.SpaceCodeEditorAppSettingsProperty codeEditorAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getCodeEditorAppSettings()- Parameters:
codeEditorAppSettings- The Code Editor application settings.- Returns:
this
-
customFileSystems
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder customFileSystems(IResolvable customFileSystems) Sets the value ofCfnSpace.SpaceSettingsProperty.getCustomFileSystems()- Parameters:
customFileSystems- A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio.- Returns:
this
-
customFileSystems
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder customFileSystems(List<? extends Object> customFileSystems) Sets the value ofCfnSpace.SpaceSettingsProperty.getCustomFileSystems()- Parameters:
customFileSystems- A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio.- Returns:
this
-
jupyterLabAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder jupyterLabAppSettings(IResolvable jupyterLabAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterLabAppSettings()- Parameters:
jupyterLabAppSettings- The settings for the JupyterLab application.- Returns:
this
-
jupyterLabAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder jupyterLabAppSettings(CfnSpace.SpaceJupyterLabAppSettingsProperty jupyterLabAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterLabAppSettings()- Parameters:
jupyterLabAppSettings- The settings for the JupyterLab application.- Returns:
this
-
jupyterServerAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder jupyterServerAppSettings(IResolvable jupyterServerAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterServerAppSettings()- Parameters:
jupyterServerAppSettings- The JupyterServer app settings.- Returns:
this
-
jupyterServerAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder jupyterServerAppSettings(CfnSpace.JupyterServerAppSettingsProperty jupyterServerAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getJupyterServerAppSettings()- Parameters:
jupyterServerAppSettings- The JupyterServer app settings.- Returns:
this
-
kernelGatewayAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder kernelGatewayAppSettings(IResolvable kernelGatewayAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getKernelGatewayAppSettings()- Parameters:
kernelGatewayAppSettings- The KernelGateway app settings.- Returns:
this
-
kernelGatewayAppSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder kernelGatewayAppSettings(CfnSpace.KernelGatewayAppSettingsProperty kernelGatewayAppSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getKernelGatewayAppSettings()- Parameters:
kernelGatewayAppSettings- The KernelGateway app settings.- Returns:
this
-
remoteAccess
Sets the value ofCfnSpace.SpaceSettingsProperty.getRemoteAccess()- Parameters:
remoteAccess- A setting that enables or disables remote access for a SageMaker space. When enabled, this allows you to connect to the remote space from your local IDE.- Returns:
this
-
spaceManagedResources
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder spaceManagedResources(String spaceManagedResources) Sets the value ofCfnSpace.SpaceSettingsProperty.getSpaceManagedResources()- Parameters:
spaceManagedResources- If you enable this option, SageMaker AI creates the following resources on your behalf when you create the space:.- The user profile that possesses the space.
- The app that the space contains.
- Returns:
this
-
spaceStorageSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder spaceStorageSettings(IResolvable spaceStorageSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getSpaceStorageSettings()- Parameters:
spaceStorageSettings- The storage settings for a space.- Returns:
this
-
spaceStorageSettings
@Stability(Stable) public CfnSpace.SpaceSettingsProperty.Builder spaceStorageSettings(CfnSpace.SpaceStorageSettingsProperty spaceStorageSettings) Sets the value ofCfnSpace.SpaceSettingsProperty.getSpaceStorageSettings()- Parameters:
spaceStorageSettings- The storage settings for a space.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpace.SpaceSettingsProperty>- Returns:
- a new instance of
CfnSpace.SpaceSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-