@Generated(value="software.amazon.awssdk:codegen") public final class UserSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserSettings.Builder,UserSettings>
A collection of settings that apply to users of Amazon SageMaker Studio. 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
.
Modifier and Type | Class and Description |
---|---|
static interface |
UserSettings.Builder |
Modifier and Type | Method and Description |
---|---|
static UserSettings.Builder |
builder() |
CanvasAppSettings |
canvasAppSettings()
The Canvas app settings.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRole()
The execution role for the user.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
JupyterServerAppSettings |
jupyterServerAppSettings()
The Jupyter server's app settings.
|
KernelGatewayAppSettings |
kernelGatewayAppSettings()
The kernel gateway app settings.
|
RSessionAppSettings |
rSessionAppSettings()
A collection of settings that configure the
RSessionGateway app. |
RStudioServerProAppSettings |
rStudioServerProAppSettings()
A collection of settings that configure user interaction with the
RStudioServerPro app. |
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
|
static Class<? extends UserSettings.Builder> |
serializableBuilderClass() |
SharingSettings |
sharingSettings()
Specifies options for sharing SageMaker Studio notebooks.
|
TensorBoardAppSettings |
tensorBoardAppSettings()
The TensorBoard app settings.
|
UserSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String executionRole()
The execution role for the user.
public final boolean hasSecurityGroups()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroups()
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
Optional when the CreateDomain.AppNetworkAccessType
parameter is set to
PublicInternetOnly
.
Required when the CreateDomain.AppNetworkAccessType
parameter is set to VpcOnly
.
Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroups()
method.
Optional when the CreateDomain.AppNetworkAccessType
parameter is set to
PublicInternetOnly
.
Required when the CreateDomain.AppNetworkAccessType
parameter is set to VpcOnly
.
Amazon SageMaker adds a security group to allow NFS traffic from SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
public final SharingSettings sharingSettings()
Specifies options for sharing SageMaker Studio notebooks.
public final JupyterServerAppSettings jupyterServerAppSettings()
The Jupyter server's app settings.
public final KernelGatewayAppSettings kernelGatewayAppSettings()
The kernel gateway app settings.
public final TensorBoardAppSettings tensorBoardAppSettings()
The TensorBoard app settings.
public final RStudioServerProAppSettings rStudioServerProAppSettings()
A collection of settings that configure user interaction with the RStudioServerPro
app.
RStudioServerPro
app.public final RSessionAppSettings rSessionAppSettings()
A collection of settings that configure the RSessionGateway
app.
RSessionGateway
app.public final CanvasAppSettings canvasAppSettings()
The Canvas app settings.
public UserSettings.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UserSettings.Builder,UserSettings>
public static UserSettings.Builder builder()
public static Class<? extends UserSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.