Class CfnUserProfile.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnUserProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfile>
- Enclosing class:
CfnUserProfile
@Stability(Stable)
public static final class CfnUserProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfile>
A fluent builder for
CfnUserProfile.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnUserProfile.BuilderThe domain ID.singleSignOnUserIdentifier(String singleSignOnUserIdentifier) A specifier for the type of value specified in SingleSignOnUserValue.singleSignOnUserValue(String singleSignOnUserValue) The username of the associated AWS Single Sign-On User for this UserProfile.An array of key-value pairs to apply to this resource.userProfileName(String userProfileName) The user profile name.userSettings(IResolvable userSettings) A collection of settings that apply to users of Amazon SageMaker Studio.userSettings(CfnUserProfile.UserSettingsProperty userSettings) A collection of settings that apply to users of Amazon SageMaker Studio.
-
Method Details
-
create
@Stability(Stable) public static CfnUserProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserProfile.Builder.
-
domainId
The domain ID.- Parameters:
domainId- The domain ID. This parameter is required.- Returns:
this- See Also:
-
userProfileName
The user profile name.- Parameters:
userProfileName- The user profile name. This parameter is required.- Returns:
this- See Also:
-
singleSignOnUserIdentifier
@Stability(Stable) public CfnUserProfile.Builder singleSignOnUserIdentifier(String singleSignOnUserIdentifier) A specifier for the type of value specified in SingleSignOnUserValue.Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center , this field is required. If the Domain's AuthMode is not IAM Identity Center , this field cannot be specified.
- Parameters:
singleSignOnUserIdentifier- A specifier for the type of value specified in SingleSignOnUserValue. This parameter is required.- Returns:
this- See Also:
-
singleSignOnUserValue
@Stability(Stable) public CfnUserProfile.Builder singleSignOnUserValue(String singleSignOnUserValue) The username of the associated AWS Single Sign-On User for this UserProfile.If the Domain's AuthMode is IAM Identity Center , this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center , this field cannot be specified.
- Parameters:
singleSignOnUserValue- The username of the associated AWS Single Sign-On User for this UserProfile. This parameter is required.- Returns:
this- See Also:
-
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 .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
userSettings
A collection of settings that apply to users of Amazon SageMaker Studio.- Parameters:
userSettings- A collection of settings that apply to users of Amazon SageMaker Studio. This parameter is required.- Returns:
this- See Also:
-
userSettings
@Stability(Stable) public CfnUserProfile.Builder userSettings(CfnUserProfile.UserSettingsProperty userSettings) A collection of settings that apply to users of Amazon SageMaker Studio.- Parameters:
userSettings- A collection of settings that apply to users of Amazon SageMaker Studio. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfile>- Returns:
- a newly built instance of
CfnUserProfile.
-