Class CfnUserProfile.RStudioServerProAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnUserProfile.RStudioServerProAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfile.RStudioServerProAppSettingsProperty>
- Enclosing interface:
CfnUserProfile.RStudioServerProAppSettingsProperty
@Stability(Stable)
public static final class CfnUserProfile.RStudioServerProAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfile.RStudioServerProAppSettingsProperty>
A builder for
CfnUserProfile.RStudioServerProAppSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessStatus
(String accessStatus) Sets the value ofCfnUserProfile.RStudioServerProAppSettingsProperty.getAccessStatus()
build()
Builds the configured instance.Sets the value ofCfnUserProfile.RStudioServerProAppSettingsProperty.getUserGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessStatus
@Stability(Stable) public CfnUserProfile.RStudioServerProAppSettingsProperty.Builder accessStatus(String accessStatus) Sets the value ofCfnUserProfile.RStudioServerProAppSettingsProperty.getAccessStatus()
- Parameters:
accessStatus
- Indicates whether the current user has access to theRStudioServerPro
app.- Returns:
this
-
userGroup
@Stability(Stable) public CfnUserProfile.RStudioServerProAppSettingsProperty.Builder userGroup(String userGroup) Sets the value ofCfnUserProfile.RStudioServerProAppSettingsProperty.getUserGroup()
- Parameters:
userGroup
- The level of permissions that the user has within theRStudioServerPro
app. This value defaults toUser
. TheAdmin
value allows the user access to the RStudio Administrative Dashboard.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserProfile.RStudioServerProAppSettingsProperty>
- Returns:
- a new instance of
CfnUserProfile.RStudioServerProAppSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-