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
Constructors -
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 theRStudioServerProapp.- 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 theRStudioServerProapp. This value defaults toUser. TheAdminvalue allows the user access to the RStudio Administrative Dashboard.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfile.RStudioServerProAppSettingsProperty>- Returns:
- a new instance of
CfnUserProfile.RStudioServerProAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-