Class CfnUserProfileMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnUserProfileMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfileMixinProps>
- Enclosing interface:
CfnUserProfileMixinProps
@Stability(Stable)
public static final class CfnUserProfileMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfileMixinProps>
A builder for
CfnUserProfileMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserProfileMixinProps.getDomainId()domainId(IDomainRef domainId) Sets the value ofCfnUserProfileMixinProps.getDomainId()singleSignOnUserIdentifier(String singleSignOnUserIdentifier) Sets the value ofCfnUserProfileMixinProps.getSingleSignOnUserIdentifier()singleSignOnUserValue(String singleSignOnUserValue) Sets the value ofCfnUserProfileMixinProps.getSingleSignOnUserValue()Sets the value ofCfnUserProfileMixinProps.getTags()userProfileName(String userProfileName) Sets the value ofCfnUserProfileMixinProps.getUserProfileName()userSettings(CfnUserProfilePropsMixin.UserSettingsProperty userSettings) Sets the value ofCfnUserProfileMixinProps.getUserSettings()userSettings(IResolvable userSettings) Sets the value ofCfnUserProfileMixinProps.getUserSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofCfnUserProfileMixinProps.getDomainId()- Parameters:
domainId- The domain ID.- Returns:
this
-
domainId
Sets the value ofCfnUserProfileMixinProps.getDomainId()- Parameters:
domainId- The domain ID.- Returns:
this
-
singleSignOnUserIdentifier
@Stability(Stable) public CfnUserProfileMixinProps.Builder singleSignOnUserIdentifier(String singleSignOnUserIdentifier) Sets the value ofCfnUserProfileMixinProps.getSingleSignOnUserIdentifier()- Parameters:
singleSignOnUserIdentifier- A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is SSO , this field is required. If the Domain's AuthMode is not SSO , this field cannot be specified.- Returns:
this
-
singleSignOnUserValue
@Stability(Stable) public CfnUserProfileMixinProps.Builder singleSignOnUserValue(String singleSignOnUserValue) Sets the value ofCfnUserProfileMixinProps.getSingleSignOnUserValue()- Parameters:
singleSignOnUserValue- The username of the associated AWS Single Sign-On User for this UserProfile. If the Domain's AuthMode is SSO , this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO , this field cannot be specified.- Returns:
this
-
tags
Sets the value ofCfnUserProfileMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. Tags that you specify for the User Profile are also added to all apps that the User Profile launches.For more information, see Tag .
- Returns:
this
-
userProfileName
Sets the value ofCfnUserProfileMixinProps.getUserProfileName()- Parameters:
userProfileName- The user profile name.- Returns:
this
-
userSettings
Sets the value ofCfnUserProfileMixinProps.getUserSettings()- Parameters:
userSettings- A collection of settings that apply to users of Amazon SageMaker Studio.- Returns:
this
-
userSettings
@Stability(Stable) public CfnUserProfileMixinProps.Builder userSettings(CfnUserProfilePropsMixin.UserSettingsProperty userSettings) Sets the value ofCfnUserProfileMixinProps.getUserSettings()- Parameters:
userSettings- A collection of settings that apply to users of Amazon SageMaker Studio.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfileMixinProps>- Returns:
- a new instance of
CfnUserProfileMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-