@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 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
.
Constructor and Description |
---|
UserSettings() |
Modifier and Type | Method and Description |
---|---|
UserSettings |
clone() |
boolean |
equals(Object obj) |
String |
getExecutionRole()
The execution role for the user.
|
JupyterServerAppSettings |
getJupyterServerAppSettings()
The Jupyter server's app settings.
|
KernelGatewayAppSettings |
getKernelGatewayAppSettings()
The kernel gateway app settings.
|
List<String> |
getSecurityGroups()
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
|
SharingSettings |
getSharingSettings()
Specifies options for sharing SageMaker Studio notebooks.
|
TensorBoardAppSettings |
getTensorBoardAppSettings()
The TensorBoard app settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExecutionRole(String executionRole)
The execution role for the user.
|
void |
setJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)
The Jupyter server's app settings.
|
void |
setKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)
The kernel gateway app settings.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
|
void |
setSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing SageMaker Studio notebooks.
|
void |
setTensorBoardAppSettings(TensorBoardAppSettings tensorBoardAppSettings)
The TensorBoard app settings.
|
String |
toString()
Returns a string representation of this object.
|
UserSettings |
withExecutionRole(String executionRole)
The execution role for the user.
|
UserSettings |
withJupyterServerAppSettings(JupyterServerAppSettings jupyterServerAppSettings)
The Jupyter server's app settings.
|
UserSettings |
withKernelGatewayAppSettings(KernelGatewayAppSettings kernelGatewayAppSettings)
The kernel gateway app settings.
|
UserSettings |
withSecurityGroups(Collection<String> securityGroups)
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
|
UserSettings |
withSecurityGroups(String... securityGroups)
The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
|
UserSettings |
withSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing SageMaker Studio notebooks.
|
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 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.
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 void setSecurityGroups(Collection<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.
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.
public UserSettings withSecurityGroups(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.
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 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.
public UserSettings withSecurityGroups(Collection<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.
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.
public void setSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing SageMaker Studio notebooks.
sharingSettings
- Specifies options for sharing SageMaker Studio notebooks.public SharingSettings getSharingSettings()
Specifies options for sharing SageMaker Studio notebooks.
public UserSettings withSharingSettings(SharingSettings sharingSettings)
Specifies options for sharing SageMaker Studio notebooks.
sharingSettings
- Specifies options for sharing 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 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.