@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
.
Constructor and Description |
---|
UserSettings() |
Modifier and Type | Method and Description |
---|---|
UserSettings |
clone() |
boolean |
equals(Object obj) |
CanvasAppSettings |
getCanvasAppSettings()
The Canvas app settings.
|
CodeEditorAppSettings |
getCodeEditorAppSettings()
The Code Editor application settings.
|
List<CustomFileSystemConfig> |
getCustomFileSystemConfigs()
The settings for assigning a custom file system to a user profile.
|
CustomPosixUserConfig |
getCustomPosixUserConfig()
Details about the POSIX identity that is used for file system operations.
|
String |
getDefaultLandingUri()
The default experience that the user is directed to when accessing the domain.
|
String |
getExecutionRole()
The execution role for the user.
|
JupyterLabAppSettings |
getJupyterLabAppSettings()
The settings for the JupyterLab application.
|
JupyterServerAppSettings |
getJupyterServerAppSettings()
The Jupyter server's app settings.
|
KernelGatewayAppSettings |
getKernelGatewayAppSettings()
The kernel gateway app settings.
|
RSessionAppSettings |
getRSessionAppSettings()
A collection of settings that configure the
RSessionGateway app. |
RStudioServerProAppSettings |
getRStudioServerProAppSettings()
A collection of settings that configure user interaction with the
RStudioServerPro app. |
List<String> |
getSecurityGroups()
The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
|
SharingSettings |
getSharingSettings()
Specifies options for sharing Amazon SageMaker Studio notebooks.
|
DefaultSpaceStorageSettings |
getSpaceStorageSettings()
The storage settings for a space.
|
String |
getStudioWebPortal()
Whether the user can access Studio.
|
StudioWebPortalSettings |
getStudioWebPortalSettings()
Studio settings.
|
TensorBoardAppSettings |
getTensorBoardAppSettings()
The TensorBoard app settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCanvasAppSettings(CanvasAppSettings canvasAppSettings)
The Canvas app settings.
|
void |
setCodeEditorAppSettings(CodeEditorAppSettings codeEditorAppSettings)
The Code Editor application settings.
|
void |
setCustomFileSystemConfigs(Collection<CustomFileSystemConfig> customFileSystemConfigs)
The settings for assigning a custom file system to a user profile.
|
void |
setCustomPosixUserConfig(CustomPosixUserConfig customPosixUserConfig)
Details about the POSIX identity that is used for file system operations.
|
void |
setDefaultLandingUri(String defaultLandingUri)
The default experience that the user is directed to when accessing the domain.
|
void |
setExecutionRole(String executionRole)
The execution role for the user.
|
void |
setJupyterLabAppSettings(JupyterLabAppSettings jupyterLabAppSettings)
The settings for the JupyterLab application.
|
void |
setJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)
The Jupyter server's app settings.
|
void |
setKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)
The kernel gateway app settings.
|
void |
setRSessionAppSettings(RSessionAppSettings rSessionAppSettings)
A collection of settings that configure the
RSessionGateway app. |
void |
setRStudioServerProAppSettings(RStudioServerProAppSettings rStudioServerProAppSettings)
A collection of settings that configure user interaction with the
RStudioServerPro app. |
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
|
void |
setSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing Amazon SageMaker Studio notebooks.
|
void |
setSpaceStorageSettings(DefaultSpaceStorageSettings spaceStorageSettings)
The storage settings for a space.
|
void |
setStudioWebPortal(String studioWebPortal)
Whether the user can access Studio.
|
void |
setStudioWebPortalSettings(StudioWebPortalSettings studioWebPortalSettings)
Studio settings.
|
void |
setTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)
The TensorBoard app settings.
|
String |
toString()
Returns a string representation of this object.
|
UserSettings |
withCanvasAppSettings(CanvasAppSettings canvasAppSettings)
The Canvas app settings.
|
UserSettings |
withCodeEditorAppSettings(CodeEditorAppSettings codeEditorAppSettings)
The Code Editor application settings.
|
UserSettings |
withCustomFileSystemConfigs(Collection<CustomFileSystemConfig> customFileSystemConfigs)
The settings for assigning a custom file system to a user profile.
|
UserSettings |
withCustomFileSystemConfigs(CustomFileSystemConfig... customFileSystemConfigs)
The settings for assigning a custom file system to a user profile.
|
UserSettings |
withCustomPosixUserConfig(CustomPosixUserConfig customPosixUserConfig)
Details about the POSIX identity that is used for file system operations.
|
UserSettings |
withDefaultLandingUri(String defaultLandingUri)
The default experience that the user is directed to when accessing the domain.
|
UserSettings |
withExecutionRole(String executionRole)
The execution role for the user.
|
UserSettings |
withJupyterLabAppSettings(JupyterLabAppSettings jupyterLabAppSettings)
The settings for the JupyterLab application.
|
UserSettings |
withJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)
The Jupyter server's app settings.
|
UserSettings |
withKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)
The kernel gateway app settings.
|
UserSettings |
withRSessionAppSettings(RSessionAppSettings rSessionAppSettings)
A collection of settings that configure the
RSessionGateway app. |
UserSettings |
withRStudioServerProAppSettings(RStudioServerProAppSettings rStudioServerProAppSettings)
A collection of settings that configure user interaction with the
RStudioServerPro app. |
UserSettings |
withSecurityGroups(Collection<String> securityGroups)
The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
|
UserSettings |
withSecurityGroups(String... securityGroups)
The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
|
UserSettings |
withSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing Amazon SageMaker Studio notebooks.
|
UserSettings |
withSpaceStorageSettings(DefaultSpaceStorageSettings spaceStorageSettings)
The storage settings for a space.
|
UserSettings |
withStudioWebPortal(String studioWebPortal)
Whether the user can access Studio.
|
UserSettings |
withStudioWebPortal(StudioWebPortal studioWebPortal)
Whether the user can access Studio.
|
UserSettings |
withStudioWebPortalSettings(StudioWebPortalSettings studioWebPortalSettings)
Studio settings.
|
UserSettings |
withTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)
The TensorBoard app settings.
|
public void setExecutionRole(String executionRole)
The execution role for the user.
executionRole
- The execution role for the user.public String getExecutionRole()
The execution role for the user.
public UserSettings withExecutionRole(String executionRole)
The execution role for the user.
executionRole
- The execution role for the user.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.
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.
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.
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.
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.
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.
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.
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.
public void setSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing Amazon SageMaker Studio notebooks.
sharingSettings
- Specifies options for sharing Amazon SageMaker Studio notebooks.public SharingSettings getSharingSettings()
Specifies options for sharing Amazon SageMaker Studio notebooks.
public UserSettings withSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing Amazon SageMaker Studio notebooks.
sharingSettings
- Specifies options for sharing Amazon SageMaker Studio notebooks.public void setJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)
The Jupyter server's app settings.
jupyterServerAppSettings
- The Jupyter server's app settings.public JupyterServerAppSettings getJupyterServerAppSettings()
The Jupyter server's app settings.
public UserSettings withJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)
The Jupyter server's app settings.
jupyterServerAppSettings
- The Jupyter server's app settings.public void setKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)
The kernel gateway app settings.
kernelGatewayAppSettings
- The kernel gateway app settings.public KernelGatewayAppSettings getKernelGatewayAppSettings()
The kernel gateway app settings.
public UserSettings withKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)
The kernel gateway app settings.
kernelGatewayAppSettings
- The kernel gateway app settings.public void setTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)
The TensorBoard app settings.
tensorBoardAppSettings
- The TensorBoard app settings.public TensorBoardAppSettings getTensorBoardAppSettings()
The TensorBoard app settings.
public UserSettings withTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)
The TensorBoard app settings.
tensorBoardAppSettings
- The TensorBoard app settings.public void setRStudioServerProAppSettings(RStudioServerProAppSettings rStudioServerProAppSettings)
A collection of settings that configure user interaction with the RStudioServerPro
app.
rStudioServerProAppSettings
- A collection of settings that configure user interaction with the RStudioServerPro
app.public RStudioServerProAppSettings getRStudioServerProAppSettings()
A collection of settings that configure user interaction with the RStudioServerPro
app.
RStudioServerPro
app.public UserSettings withRStudioServerProAppSettings(RStudioServerProAppSettings rStudioServerProAppSettings)
A collection of settings that configure user interaction with the RStudioServerPro
app.
rStudioServerProAppSettings
- A collection of settings that configure user interaction with the RStudioServerPro
app.public void setRSessionAppSettings(RSessionAppSettings rSessionAppSettings)
A collection of settings that configure the RSessionGateway
app.
rSessionAppSettings
- A collection of settings that configure the RSessionGateway
app.public RSessionAppSettings getRSessionAppSettings()
A collection of settings that configure the RSessionGateway
app.
RSessionGateway
app.public UserSettings withRSessionAppSettings(RSessionAppSettings rSessionAppSettings)
A collection of settings that configure the RSessionGateway
app.
rSessionAppSettings
- A collection of settings that configure the RSessionGateway
app.public void setCanvasAppSettings(CanvasAppSettings canvasAppSettings)
The Canvas app settings.
canvasAppSettings
- The Canvas app settings.public CanvasAppSettings getCanvasAppSettings()
The Canvas app settings.
public UserSettings withCanvasAppSettings(CanvasAppSettings canvasAppSettings)
The Canvas app settings.
canvasAppSettings
- The Canvas app settings.public void setCodeEditorAppSettings(CodeEditorAppSettings codeEditorAppSettings)
The Code Editor application settings.
codeEditorAppSettings
- The Code Editor application settings.public CodeEditorAppSettings getCodeEditorAppSettings()
The Code Editor application settings.
public UserSettings withCodeEditorAppSettings(CodeEditorAppSettings codeEditorAppSettings)
The Code Editor application settings.
codeEditorAppSettings
- The Code Editor application settings.public void setJupyterLabAppSettings(JupyterLabAppSettings jupyterLabAppSettings)
The settings for the JupyterLab application.
jupyterLabAppSettings
- The settings for the JupyterLab application.public JupyterLabAppSettings getJupyterLabAppSettings()
The settings for the JupyterLab application.
public UserSettings withJupyterLabAppSettings(JupyterLabAppSettings jupyterLabAppSettings)
The settings for the JupyterLab application.
jupyterLabAppSettings
- The settings for the JupyterLab application.public void setSpaceStorageSettings(DefaultSpaceStorageSettings spaceStorageSettings)
The storage settings for a space.
spaceStorageSettings
- The storage settings for a space.public DefaultSpaceStorageSettings getSpaceStorageSettings()
The storage settings for a space.
public UserSettings withSpaceStorageSettings(DefaultSpaceStorageSettings spaceStorageSettings)
The storage settings for a space.
spaceStorageSettings
- The storage settings for a space.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.
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.
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.
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.
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.
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.
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.
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.StudioWebPortal
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.
DISABLED
, the user cannot access
Studio, even if that is the default experience for the domain.StudioWebPortal
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.
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.StudioWebPortal
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.
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.StudioWebPortal
public void setCustomPosixUserConfig(CustomPosixUserConfig customPosixUserConfig)
Details about the POSIX identity that is used for file system operations.
customPosixUserConfig
- Details about the POSIX identity that is used for file system operations.public CustomPosixUserConfig getCustomPosixUserConfig()
Details about the POSIX identity that is used for file system operations.
public UserSettings withCustomPosixUserConfig(CustomPosixUserConfig customPosixUserConfig)
Details about the POSIX identity that is used for file system operations.
customPosixUserConfig
- Details about the POSIX identity that is used for file system operations.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.
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.
customFileSystemConfigs
- The settings for assigning a custom file system to a user profile. Permitted users can access this file
system in Amazon SageMaker Studio.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.
customFileSystemConfigs
- The settings for assigning a custom file system to a user profile. Permitted users can access this file
system in Amazon SageMaker Studio.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.
customFileSystemConfigs
- The settings for assigning a custom file system to a user profile. Permitted users can access this file
system in Amazon SageMaker Studio.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.
studioWebPortalSettings
- Studio settings. If these settings are applied on a user level, they take priority over the settings
applied on a domain level.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.
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.
studioWebPortalSettings
- Studio settings. If these settings are applied on a user level, they take priority over the settings
applied on a domain level.public String toString()
toString
in class Object
Object.toString()
public UserSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.