Class CfnDomain.UserSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.UserSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.UserSettingsProperty>
- Enclosing interface:
CfnDomain.UserSettingsProperty
@Stability(Stable)
public static final class CfnDomain.UserSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.UserSettingsProperty>
A builder for
CfnDomain.UserSettingsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.executionRole
(String executionRole) Sets the value ofCfnDomain.UserSettingsProperty.getExecutionRole()
jupyterServerAppSettings
(IResolvable jupyterServerAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getJupyterServerAppSettings()
jupyterServerAppSettings
(CfnDomain.JupyterServerAppSettingsProperty jupyterServerAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getJupyterServerAppSettings()
kernelGatewayAppSettings
(IResolvable kernelGatewayAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getKernelGatewayAppSettings()
kernelGatewayAppSettings
(CfnDomain.KernelGatewayAppSettingsProperty kernelGatewayAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getKernelGatewayAppSettings()
rSessionAppSettings
(IResolvable rSessionAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRSessionAppSettings()
rSessionAppSettings
(CfnDomain.RSessionAppSettingsProperty rSessionAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRSessionAppSettings()
rStudioServerProAppSettings
(IResolvable rStudioServerProAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRStudioServerProAppSettings()
rStudioServerProAppSettings
(CfnDomain.RStudioServerProAppSettingsProperty rStudioServerProAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRStudioServerProAppSettings()
securityGroups
(List<String> securityGroups) Sets the value ofCfnDomain.UserSettingsProperty.getSecurityGroups()
sharingSettings
(IResolvable sharingSettings) Sets the value ofCfnDomain.UserSettingsProperty.getSharingSettings()
sharingSettings
(CfnDomain.SharingSettingsProperty sharingSettings) Sets the value ofCfnDomain.UserSettingsProperty.getSharingSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionRole
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder executionRole(String executionRole) Sets the value ofCfnDomain.UserSettingsProperty.getExecutionRole()
- Parameters:
executionRole
- The execution role for the user. This parameter is required.- Returns:
this
-
jupyterServerAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder jupyterServerAppSettings(IResolvable jupyterServerAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getJupyterServerAppSettings()
- Parameters:
jupyterServerAppSettings
- The Jupyter server's app settings.- Returns:
this
-
jupyterServerAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder jupyterServerAppSettings(CfnDomain.JupyterServerAppSettingsProperty jupyterServerAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getJupyterServerAppSettings()
- Parameters:
jupyterServerAppSettings
- The Jupyter server's app settings.- Returns:
this
-
kernelGatewayAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder kernelGatewayAppSettings(IResolvable kernelGatewayAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getKernelGatewayAppSettings()
- Parameters:
kernelGatewayAppSettings
- The kernel gateway app settings.- Returns:
this
-
kernelGatewayAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder kernelGatewayAppSettings(CfnDomain.KernelGatewayAppSettingsProperty kernelGatewayAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getKernelGatewayAppSettings()
- Parameters:
kernelGatewayAppSettings
- The kernel gateway app settings.- Returns:
this
-
rSessionAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder rSessionAppSettings(IResolvable rSessionAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRSessionAppSettings()
- Parameters:
rSessionAppSettings
- A collection of settings that configure theRSessionGateway
app.- Returns:
this
-
rSessionAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder rSessionAppSettings(CfnDomain.RSessionAppSettingsProperty rSessionAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRSessionAppSettings()
- Parameters:
rSessionAppSettings
- A collection of settings that configure theRSessionGateway
app.- Returns:
this
-
rStudioServerProAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder rStudioServerProAppSettings(IResolvable rStudioServerProAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRStudioServerProAppSettings()
- Parameters:
rStudioServerProAppSettings
- A collection of settings that configure user interaction with theRStudioServerPro
app.- Returns:
this
-
rStudioServerProAppSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder rStudioServerProAppSettings(CfnDomain.RStudioServerProAppSettingsProperty rStudioServerProAppSettings) Sets the value ofCfnDomain.UserSettingsProperty.getRStudioServerProAppSettings()
- Parameters:
rStudioServerProAppSettings
- A collection of settings that configure user interaction with theRStudioServerPro
app.- Returns:
this
-
securityGroups
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder securityGroups(List<String> securityGroups) Sets the value ofCfnDomain.UserSettingsProperty.getSecurityGroups()
- Parameters:
securityGroups
- The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. Optional when theCreateDomain.AppNetworkAccessType
parameter is set toPublicInternetOnly
.Required when the
CreateDomain.AppNetworkAccessType
parameter is set toVpcOnly
, unless specified as part of theDefaultUserSettings
for the domain.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.
- Returns:
this
-
sharingSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder sharingSettings(IResolvable sharingSettings) Sets the value ofCfnDomain.UserSettingsProperty.getSharingSettings()
- Parameters:
sharingSettings
- Specifies options for sharing SageMaker Studio notebooks.- Returns:
this
-
sharingSettings
@Stability(Stable) public CfnDomain.UserSettingsProperty.Builder sharingSettings(CfnDomain.SharingSettingsProperty sharingSettings) Sets the value ofCfnDomain.UserSettingsProperty.getSharingSettings()
- Parameters:
sharingSettings
- Specifies options for sharing SageMaker Studio notebooks.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.UserSettingsProperty>
- Returns:
- a new instance of
CfnDomain.UserSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-