JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.sagemaker.model

Class UserSettings

  • All Implemented Interfaces:
    StructuredPojo, Serializable, Cloneable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class UserSettings
    extends Object
    implements Serializable, Cloneable, StructuredPojo 

    A collection of settings that apply to users in a domain. These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called.

    SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings, the values specified in CreateUserProfile take precedence over those specified in CreateDomain.

    See Also:
    AWS API Documentation, Serialized Form
    • Constructor Detail

      • UserSettings

        public UserSettings()
    • Method Detail

      • setExecutionRole

        public void setExecutionRole(String executionRole)

        The execution role for the user.

        Parameters:
        executionRole - The execution role for the user.
      • getExecutionRole

        public String getExecutionRole()

        The execution role for the user.

        Returns:
        The execution role for the user.
      • withExecutionRole

        public UserSettings withExecutionRole(String executionRole)

        The execution role for the user.

        Parameters:
        executionRole - The execution role for the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSecurityGroups

        public List<String> getSecurityGroups()

        The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

        Returns:
        The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly , unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

      • setSecurityGroups

        public void setSecurityGroups(Collection<String> securityGroups)

        The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

        Parameters:
        securityGroups - The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

      • withSecurityGroups

        public UserSettings withSecurityGroups(String... securityGroups)

        The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

        NOTE: This method appends the values to the existing list (if any). Use setSecurityGroups(java.util.Collection) or withSecurityGroups(java.util.Collection) if you want to override the existing values.

        Parameters:
        securityGroups - The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withSecurityGroups

        public UserSettings withSecurityGroups(Collection<String> securityGroups)

        The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

        Parameters:
        securityGroups - The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSharingSettings

        public void setSharingSettings(SharingSettings sharingSettings)

        Specifies options for sharing Amazon SageMaker Studio notebooks.

        Parameters:
        sharingSettings - Specifies options for sharing Amazon SageMaker Studio notebooks.
      • getSharingSettings

        public SharingSettings getSharingSettings()

        Specifies options for sharing Amazon SageMaker Studio notebooks.

        Returns:
        Specifies options for sharing Amazon SageMaker Studio notebooks.
      • withSharingSettings

        public UserSettings withSharingSettings(SharingSettings sharingSettings)

        Specifies options for sharing Amazon SageMaker Studio notebooks.

        Parameters:
        sharingSettings - Specifies options for sharing Amazon SageMaker Studio notebooks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setJupyterServerAppSettings

        public void setJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)

        The Jupyter server's app settings.

        Parameters:
        jupyterServerAppSettings - The Jupyter server's app settings.
      • getJupyterServerAppSettings

        public JupyterServerAppSettings getJupyterServerAppSettings()

        The Jupyter server's app settings.

        Returns:
        The Jupyter server's app settings.
      • withJupyterServerAppSettings

        public UserSettings withJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)

        The Jupyter server's app settings.

        Parameters:
        jupyterServerAppSettings - The Jupyter server's app settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKernelGatewayAppSettings

        public void setKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)

        The kernel gateway app settings.

        Parameters:
        kernelGatewayAppSettings - The kernel gateway app settings.
      • getKernelGatewayAppSettings

        public KernelGatewayAppSettings getKernelGatewayAppSettings()

        The kernel gateway app settings.

        Returns:
        The kernel gateway app settings.
      • withKernelGatewayAppSettings

        public UserSettings withKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)

        The kernel gateway app settings.

        Parameters:
        kernelGatewayAppSettings - The kernel gateway app settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTensorBoardAppSettings

        public void setTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)

        The TensorBoard app settings.

        Parameters:
        tensorBoardAppSettings - The TensorBoard app settings.
      • getTensorBoardAppSettings

        public TensorBoardAppSettings getTensorBoardAppSettings()

        The TensorBoard app settings.

        Returns:
        The TensorBoard app settings.
      • withTensorBoardAppSettings

        public UserSettings withTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)

        The TensorBoard app settings.

        Parameters:
        tensorBoardAppSettings - The TensorBoard app settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRStudioServerProAppSettings

        public void setRStudioServerProAppSettings(RStudioServerProAppSettings rStudioServerProAppSettings)

        A collection of settings that configure user interaction with the RStudioServerPro app.

        Parameters:
        rStudioServerProAppSettings - A collection of settings that configure user interaction with the RStudioServerPro app.
      • getRStudioServerProAppSettings

        public RStudioServerProAppSettings getRStudioServerProAppSettings()

        A collection of settings that configure user interaction with the RStudioServerPro app.

        Returns:
        A collection of settings that configure user interaction with the RStudioServerPro app.
      • withRStudioServerProAppSettings

        public UserSettings withRStudioServerProAppSettings(RStudioServerProAppSettings rStudioServerProAppSettings)

        A collection of settings that configure user interaction with the RStudioServerPro app.

        Parameters:
        rStudioServerProAppSettings - A collection of settings that configure user interaction with the RStudioServerPro app.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRSessionAppSettings

        public void setRSessionAppSettings(RSessionAppSettings rSessionAppSettings)

        A collection of settings that configure the RSessionGateway app.

        Parameters:
        rSessionAppSettings - A collection of settings that configure the RSessionGateway app.
      • getRSessionAppSettings

        public RSessionAppSettings getRSessionAppSettings()

        A collection of settings that configure the RSessionGateway app.

        Returns:
        A collection of settings that configure the RSessionGateway app.
      • withRSessionAppSettings

        public UserSettings withRSessionAppSettings(RSessionAppSettings rSessionAppSettings)

        A collection of settings that configure the RSessionGateway app.

        Parameters:
        rSessionAppSettings - A collection of settings that configure the RSessionGateway app.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCanvasAppSettings

        public void setCanvasAppSettings(CanvasAppSettings canvasAppSettings)

        The Canvas app settings.

        Parameters:
        canvasAppSettings - The Canvas app settings.
      • getCanvasAppSettings

        public CanvasAppSettings getCanvasAppSettings()

        The Canvas app settings.

        Returns:
        The Canvas app settings.
      • withCanvasAppSettings

        public UserSettings withCanvasAppSettings(CanvasAppSettings canvasAppSettings)

        The Canvas app settings.

        Parameters:
        canvasAppSettings - The Canvas app settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCodeEditorAppSettings

        public void setCodeEditorAppSettings(CodeEditorAppSettings codeEditorAppSettings)

        The Code Editor application settings.

        Parameters:
        codeEditorAppSettings - The Code Editor application settings.
      • getCodeEditorAppSettings

        public CodeEditorAppSettings getCodeEditorAppSettings()

        The Code Editor application settings.

        Returns:
        The Code Editor application settings.
      • withCodeEditorAppSettings

        public UserSettings withCodeEditorAppSettings(CodeEditorAppSettings codeEditorAppSettings)

        The Code Editor application settings.

        Parameters:
        codeEditorAppSettings - The Code Editor application settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setJupyterLabAppSettings

        public void setJupyterLabAppSettings(JupyterLabAppSettings jupyterLabAppSettings)

        The settings for the JupyterLab application.

        Parameters:
        jupyterLabAppSettings - The settings for the JupyterLab application.
      • getJupyterLabAppSettings

        public JupyterLabAppSettings getJupyterLabAppSettings()

        The settings for the JupyterLab application.

        Returns:
        The settings for the JupyterLab application.
      • withJupyterLabAppSettings

        public UserSettings withJupyterLabAppSettings(JupyterLabAppSettings jupyterLabAppSettings)

        The settings for the JupyterLab application.

        Parameters:
        jupyterLabAppSettings - The settings for the JupyterLab application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSpaceStorageSettings

        public void setSpaceStorageSettings(DefaultSpaceStorageSettings spaceStorageSettings)

        The storage settings for a space.

        Parameters:
        spaceStorageSettings - The storage settings for a space.
      • getSpaceStorageSettings

        public DefaultSpaceStorageSettings getSpaceStorageSettings()

        The storage settings for a space.

        Returns:
        The storage settings for a space.
      • withSpaceStorageSettings

        public UserSettings withSpaceStorageSettings(DefaultSpaceStorageSettings spaceStorageSettings)

        The storage settings for a space.

        Parameters:
        spaceStorageSettings - The storage settings for a space.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDefaultLandingUri

        public void setDefaultLandingUri(String 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 if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

        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 if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

      • getDefaultLandingUri

        public String getDefaultLandingUri()

        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 if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

        Returns:
        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 if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

      • withDefaultLandingUri

        public UserSettings withDefaultLandingUri(String 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 if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

        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 if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStudioWebPortal

        public void setStudioWebPortal(String studioWebPortal)

        Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.

        Parameters:
        studioWebPortal - Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.
        See Also:
        StudioWebPortal
      • getStudioWebPortal

        public String getStudioWebPortal()

        Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.

        Returns:
        Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.
        See Also:
        StudioWebPortal
      • withStudioWebPortal

        public UserSettings withStudioWebPortal(String studioWebPortal)

        Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.

        Parameters:
        studioWebPortal - Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StudioWebPortal
      • withStudioWebPortal

        public UserSettings withStudioWebPortal(StudioWebPortal studioWebPortal)

        Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.

        Parameters:
        studioWebPortal - Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StudioWebPortal
      • setCustomPosixUserConfig

        public void setCustomPosixUserConfig(CustomPosixUserConfig customPosixUserConfig)

        Details about the POSIX identity that is used for file system operations.

        Parameters:
        customPosixUserConfig - Details about the POSIX identity that is used for file system operations.
      • getCustomPosixUserConfig

        public CustomPosixUserConfig getCustomPosixUserConfig()

        Details about the POSIX identity that is used for file system operations.

        Returns:
        Details about the POSIX identity that is used for file system operations.
      • withCustomPosixUserConfig

        public UserSettings withCustomPosixUserConfig(CustomPosixUserConfig customPosixUserConfig)

        Details about the POSIX identity that is used for file system operations.

        Parameters:
        customPosixUserConfig - Details about the POSIX identity that is used for file system operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCustomFileSystemConfigs

        public List<CustomFileSystemConfig> getCustomFileSystemConfigs()

        The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.

        Returns:
        The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.
      • setCustomFileSystemConfigs

        public void setCustomFileSystemConfigs(Collection<CustomFileSystemConfig> customFileSystemConfigs)

        The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.

        Parameters:
        customFileSystemConfigs - The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.
      • withCustomFileSystemConfigs

        public UserSettings withCustomFileSystemConfigs(CustomFileSystemConfig... customFileSystemConfigs)

        The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.

        NOTE: This method appends the values to the existing list (if any). Use setCustomFileSystemConfigs(java.util.Collection) or withCustomFileSystemConfigs(java.util.Collection) if you want to override the existing values.

        Parameters:
        customFileSystemConfigs - The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCustomFileSystemConfigs

        public UserSettings withCustomFileSystemConfigs(Collection<CustomFileSystemConfig> customFileSystemConfigs)

        The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.

        Parameters:
        customFileSystemConfigs - The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStudioWebPortalSettings

        public void setStudioWebPortalSettings(StudioWebPortalSettings studioWebPortalSettings)

        Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.

        Parameters:
        studioWebPortalSettings - Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
      • getStudioWebPortalSettings

        public StudioWebPortalSettings getStudioWebPortalSettings()

        Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.

        Returns:
        Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
      • withStudioWebPortalSettings

        public UserSettings withStudioWebPortalSettings(StudioWebPortalSettings studioWebPortalSettings)

        Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.

        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:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /