Class CfnUserProfilePropsMixin.UserSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfilePropsMixin.UserSettingsProperty>
- Enclosing interface:
CfnUserProfilePropsMixin.UserSettingsProperty
CfnUserProfilePropsMixin.UserSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoMountHomeEfs(String autoMountHomeEfs) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getAutoMountHomeEfs()build()Builds the configured instance.codeEditorAppSettings(IResolvable codeEditorAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCodeEditorAppSettings()codeEditorAppSettings(CfnUserProfilePropsMixin.CodeEditorAppSettingsProperty codeEditorAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCodeEditorAppSettings()customFileSystemConfigs(List<? extends Object> customFileSystemConfigs) customFileSystemConfigs(IResolvable customFileSystemConfigs) customPosixUserConfig(IResolvable customPosixUserConfig) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCustomPosixUserConfig()customPosixUserConfig(CfnUserProfilePropsMixin.CustomPosixUserConfigProperty customPosixUserConfig) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCustomPosixUserConfig()defaultLandingUri(String defaultLandingUri) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getDefaultLandingUri()executionRole(String executionRole) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getExecutionRole()jupyterLabAppSettings(IResolvable jupyterLabAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getJupyterLabAppSettings()jupyterLabAppSettings(CfnUserProfilePropsMixin.JupyterLabAppSettingsProperty jupyterLabAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getJupyterLabAppSettings()jupyterServerAppSettings(IResolvable jupyterServerAppSettings) jupyterServerAppSettings(CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty jupyterServerAppSettings) kernelGatewayAppSettings(IResolvable kernelGatewayAppSettings) kernelGatewayAppSettings(CfnUserProfilePropsMixin.KernelGatewayAppSettingsProperty kernelGatewayAppSettings) rStudioServerProAppSettings(IResolvable rStudioServerProAppSettings) rStudioServerProAppSettings(CfnUserProfilePropsMixin.RStudioServerProAppSettingsProperty rStudioServerProAppSettings) securityGroups(List<String> securityGroups) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSecurityGroups()sharingSettings(IResolvable sharingSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSharingSettings()sharingSettings(CfnUserProfilePropsMixin.SharingSettingsProperty sharingSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSharingSettings()spaceStorageSettings(IResolvable spaceStorageSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSpaceStorageSettings()spaceStorageSettings(CfnUserProfilePropsMixin.DefaultSpaceStorageSettingsProperty spaceStorageSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSpaceStorageSettings()studioWebPortal(String studioWebPortal) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getStudioWebPortal()studioWebPortalSettings(IResolvable studioWebPortalSettings) studioWebPortalSettings(CfnUserProfilePropsMixin.StudioWebPortalSettingsProperty studioWebPortalSettings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoMountHomeEfs
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder autoMountHomeEfs(String autoMountHomeEfs) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getAutoMountHomeEfs()- Parameters:
autoMountHomeEfs- Indicates whether auto-mounting of an EFS volume is supported for the user profile. TheDefaultAsDomainvalue is only supported for user profiles. Do not use theDefaultAsDomainvalue when setting this parameter for a domain.SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
- Returns:
this
-
codeEditorAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder codeEditorAppSettings(IResolvable codeEditorAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCodeEditorAppSettings()- Parameters:
codeEditorAppSettings- The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
codeEditorAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder codeEditorAppSettings(CfnUserProfilePropsMixin.CodeEditorAppSettingsProperty codeEditorAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCodeEditorAppSettings()- Parameters:
codeEditorAppSettings- The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
customFileSystemConfigs
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder customFileSystemConfigs(IResolvable customFileSystemConfigs) - Parameters:
customFileSystemConfigs- The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio.SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
- Returns:
this
-
customFileSystemConfigs
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder customFileSystemConfigs(List<? extends Object> customFileSystemConfigs) - Parameters:
customFileSystemConfigs- The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio.SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
- Returns:
this
-
customPosixUserConfig
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder customPosixUserConfig(IResolvable customPosixUserConfig) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCustomPosixUserConfig()- Parameters:
customPosixUserConfig- Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
customPosixUserConfig
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder customPosixUserConfig(CfnUserProfilePropsMixin.CustomPosixUserConfigProperty customPosixUserConfig) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getCustomPosixUserConfig()- Parameters:
customPosixUserConfig- Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
defaultLandingUri
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder defaultLandingUri(String defaultLandingUri) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getDefaultLandingUri()- Parameters:
defaultLandingUri- The default experience that the user is directed to when accessing the domain. The supported values are:.studio::: Indicates that Studio is the default experience. This value can only be passed ifStudioWebPortalis set toENABLED.app:JupyterServer:: Indicates that Studio Classic is the default experience.
- Returns:
this
-
executionRole
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder executionRole(String executionRole) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getExecutionRole()- Parameters:
executionRole- The execution role for the user. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.- Returns:
this
-
jupyterLabAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder jupyterLabAppSettings(IResolvable jupyterLabAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getJupyterLabAppSettings()- Parameters:
jupyterLabAppSettings- The settings for the JupyterLab application. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
jupyterLabAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder jupyterLabAppSettings(CfnUserProfilePropsMixin.JupyterLabAppSettingsProperty jupyterLabAppSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getJupyterLabAppSettings()- Parameters:
jupyterLabAppSettings- The settings for the JupyterLab application. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
jupyterServerAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder jupyterServerAppSettings(IResolvable jupyterServerAppSettings) - Parameters:
jupyterServerAppSettings- The Jupyter server's app settings.- Returns:
this
-
jupyterServerAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder jupyterServerAppSettings(CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty jupyterServerAppSettings) - Parameters:
jupyterServerAppSettings- The Jupyter server's app settings.- Returns:
this
-
kernelGatewayAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder kernelGatewayAppSettings(IResolvable kernelGatewayAppSettings) - Parameters:
kernelGatewayAppSettings- The kernel gateway app settings.- Returns:
this
-
kernelGatewayAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder kernelGatewayAppSettings(CfnUserProfilePropsMixin.KernelGatewayAppSettingsProperty kernelGatewayAppSettings) - Parameters:
kernelGatewayAppSettings- The kernel gateway app settings.- Returns:
this
-
rStudioServerProAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder rStudioServerProAppSettings(IResolvable rStudioServerProAppSettings) - Parameters:
rStudioServerProAppSettings- A collection of settings that configure user interaction with theRStudioServerProapp.- Returns:
this
-
rStudioServerProAppSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder rStudioServerProAppSettings(CfnUserProfilePropsMixin.RStudioServerProAppSettingsProperty rStudioServerProAppSettings) - Parameters:
rStudioServerProAppSettings- A collection of settings that configure user interaction with theRStudioServerProapp.- Returns:
this
-
securityGroups
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSecurityGroups()- Parameters:
securityGroups- The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. Optional when theCreateDomain.AppNetworkAccessTypeparameter is set toPublicInternetOnly.Required when the
CreateDomain.AppNetworkAccessTypeparameter is set toVpcOnly, unless specified as part of theDefaultUserSettingsfor the domain.Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
- Returns:
this
-
sharingSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder sharingSettings(IResolvable sharingSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSharingSettings()- Parameters:
sharingSettings- Specifies options for sharing Amazon SageMaker AI Studio notebooks.- Returns:
this
-
sharingSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder sharingSettings(CfnUserProfilePropsMixin.SharingSettingsProperty sharingSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSharingSettings()- Parameters:
sharingSettings- Specifies options for sharing Amazon SageMaker AI Studio notebooks.- Returns:
this
-
spaceStorageSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder spaceStorageSettings(IResolvable spaceStorageSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSpaceStorageSettings()- Parameters:
spaceStorageSettings- The storage settings for a space. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
spaceStorageSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder spaceStorageSettings(CfnUserProfilePropsMixin.DefaultSpaceStorageSettingsProperty spaceStorageSettings) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getSpaceStorageSettings()- Parameters:
spaceStorageSettings- The storage settings for a space. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.- Returns:
this
-
studioWebPortal
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder studioWebPortal(String studioWebPortal) Sets the value ofCfnUserProfilePropsMixin.UserSettingsProperty.getStudioWebPortal()- Parameters:
studioWebPortal- Whether the user can access Studio. If this value is set toDISABLED, the user cannot access Studio, even if that is the default experience for the domain.- Returns:
this
-
studioWebPortalSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder studioWebPortalSettings(IResolvable studioWebPortalSettings) - Parameters:
studioWebPortalSettings- Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.- Returns:
this
-
studioWebPortalSettings
@Stability(Stable) public CfnUserProfilePropsMixin.UserSettingsProperty.Builder studioWebPortalSettings(CfnUserProfilePropsMixin.StudioWebPortalSettingsProperty studioWebPortalSettings) - Parameters:
studioWebPortalSettings- Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfilePropsMixin.UserSettingsProperty>- Returns:
- a new instance of
CfnUserProfilePropsMixin.UserSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-